-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.4.5, 2.5, 2.6
-
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:
- Login as a student
- Navigate to a course
- Click the assignment
- Click add..
- Select any repository except 'private files'
- Leave it open until session time out. (as admin, set '$CFG->sessiontimeout = 0.1;' in config.php to make the session time out immediately)
- Click the Private files button in the file picker
It displays a pop up message containing script has been terminated.