-
Bug
-
Resolution: Fixed
-
Blocker
-
2.3.1
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
New logic was added in 2.3 that sets the attempt page if it doesn't match, but the updates happens unconditionally, so all attempt pages are set to the page of the current attempt, which then means every other attempt will do this too when visited, causing a vicious cycle.
On large sites, this means that you have a very large update whenever and attempt is done. On postgres, this causes tons of dead records (we had over 20 million, they were being made faster than vaccum could keep up). The updates would cause the attemps to timeout, because it was updating so many records. The fix is to include the missing parameters for the set_field call in mod/quiz/attempt.php
- has been marked as being related by
-
MDL-34599 quiz attempt.php (& review.php?) should ensure $page is not out-of-range
-
- Closed
-
- is a regression caused by
-
MDL-3054 Remember page number
-
- Closed
-
-
MDL-11047 Quiz limit to one question per page with no access to previous or next question
-
- Closed
-
- is duplicated by
-
MDL-34212 Cannot continue Quiz - get "No questions found" error
-
- Closed
-
- will help resolve
-
MDL-34212 Cannot continue Quiz - get "No questions found" error
-
- Closed
-