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

Syntax Error instead of session timeout warning from AJAX_SCRIPT renderer

    XMLWordPrintable

Details

    • MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-43785-master
    • Hide

      Note: Required $CFG->dbsessions to be true, also set $CFG->sessiontimeout to something small, like 5 minutes

      1. Login as admin
      2. Navigate to your dashboard
      3. Open a new tab and log out in that tab
      4. Return to your first tab
      5. Attempt to expand the Site administration
        1. Confirm you get a nicer error message "Course or activity not accessible." is the default string for that
      6. Log back in again, make sure you are on the page where the site administration node is collapsed and not loaded
      7. Wait for 5 minutes for session to timeout
      8. Attempt to expand the Site administration
        1. Confirm you get a nice message explaining that your session timed out. In case if $CFG->dbsessions was not set to true, you would get error "Course or activity not accessible."
      Show
      Note: Required $CFG->dbsessions to be true, also set $CFG->sessiontimeout to something small, like 5 minutes Login as admin Navigate to your dashboard Open a new tab and log out in that tab Return to your first tab Attempt to expand the Site administration Confirm you get a nicer error message "Course or activity not accessible." is the default string for that Log back in again, make sure you are on the page where the site administration node is collapsed and not loaded Wait for 5 minutes for session to timeout Attempt to expand the Site administration Confirm you get a nice message explaining that your session timed out . In case if $CFG->dbsessions was not set to true, you would get error "Course or activity not accessible."

    Description

      I was opening the "Site Administration" disclosure triangle (within the docked Administration block) from a page that I had left open yesterday (so session was expired).

      Attachments

        1. Schermata 2014-01-21 a 10.07.35.png
          29 kB
          Daniele Cordella
        2. Schermata 2014-03-11 a 07.51.22.png
          23 kB
          Daniele Cordella
        3. test.php
          0.3 kB
          Andrew Lyons

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              daniss Daniele Cordella
              Marina Glancy Marina Glancy
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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