Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.7.6, 3.8.3, 3.9, 3.9.4, 3.10.1
Description
During a quiz attempt, if the user navigates using the browser's forwards of back buttons, then they may end up with a question shown in their browser which is in a state that is out-of-synch with the current state on the server. Also, the timer may show the wrong time (at least until auto-save runs and fixes it, as in MDL-58926).
Therefore, it would be best if, navigating using browser back or forwards during a quiz attempt, the page is forced to reload (as in https://stackoverflow.com/a/43399649/1292707 or similar).
Note, this might be useful generic functionality. Therefore, probabably the way to implement this is a core JS module core/reloader, and then quiz attempt.php does $PAGE->requires->js_call_amd('core/reloader', 'force_reload_on_history_nav');
Attachments
Issue Links
- has been marked as being related by
-
MDL-58926 Keep client-side quiz timer in synch with server (in case teacher edits time limit & for accuracy)
-
- Closed
-