Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74084

Javascript exception when navigating back to a page containing a user tour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0
    • 4.0
    • User Tours
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide
      1. Log in as admin
      2. When dashboards page loads, you should be greeted by "Side panel" tour
        • If not, then press Reset user tour on this page
        • Reload the page (important)
      3. Press Got it inside tour panel
      4. Navigate to My courses
      5. Press the Back button on your browser
      6. Confirm you don't see a TypeError exception about "context is undefined"
      Show
      Log in as admin When dashboards page loads, you should be greeted by "Side panel" tour If not, then press Reset user tour on this page Reload the page (important) Press Got it inside tour panel Navigate to My courses Press the Back button on your browser Confirm you don't see a TypeError exception about "context is undefined"

      I sometimes get a Type Error when I perform the following steps on the qa.moodledemo.net site using Chrome 98.0.... on Windows:

      1. Login as a Teacher
      2. Go to the My courses page. (https://qa.moodledemo.net/my/courses.php)
      3. Click on any course.
      4. Click on the browser's Back button.

      I get the following error message:

      When it happens, I can reproduce it easily and consistently. However, I have not quite figured out the sequence of events to reproduce it when it is not happening the rest of the time.

      Just reporting this in case someone else can add to the details or might have an idea of why this happens.

       

            pholden Paul Holden
            michael-milette Michael Milette
            Carlos Castillo Carlos Castillo
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 55 minutes
                3h 55m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.