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

On session timeout, filepicker ajax script should redirect to login page.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.4.5, 2.5, 2.6
    • Filepicker
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE

      I noticed this error while working on MDL-35928.

      When filepicker modal is open and session has timeout, selecting repository such as 'private file' doesn't force the page to redirect to login page.

      I think when session had timed out, filepicker modal shouldn't be accessible at all.

      Steps to reproduce:

      1. Login as a student
      2. Navigate to a course
      3. Click the assignment
      4. Click add..
      5. Select any repository except 'private files'
      6. Leave it open until session time out. (as admin, set '$CFG->sessiontimeout = 0.1;' in config.php to make the session time out immediately)
      7. Click the Private files button in the file picker

      It displays a pop up message containing script has been terminated.

            Unassigned Unassigned
            rwijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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