-
Bug
-
Resolution: Done
-
Critical
-
DEV backlog
-
-
MOODLE_404_STABLE
-
Moodle Apps - 2023 Sprint i2.2, Moodle Apps - 2024 i1.1, Moodle Apps - 2024 i1.2, Moodle Apps - 2024 i1.3
As reported in MOBILE-4345, MDL-75210 caused a regression with quizzes using sequential navigation.
In particular, the following condition was introduced in mod/quiz/classes/external.php :
if ($attemptobj->check_page_access($attemptobj->get_question_page($slot), false)) { |
$questions[] = $question; |
}
|
This prevents the app from getting information about any question that is not the current, and thus prevents the bookmarks and quiz summary/review from displaying properly. It also affected navigation itself, but a workaround to fix that was introduced in MOBILE-4345 (it should be reverted once a proper solution is introduced).
Also, quizzes configured with sequential navigation don't allow jumping to other questions from the navigation, so the buttons should appear disabled. This will also be consistent with the behaviour in the LMS (note: It seems like we already have some disabled navigation items elsewhere, for example in SCORM Table of contents, but it doesn't seem to be a11y friendly so this could be a change to review that).
The Behat tests for this feature have been commented out to prevent conflicts during the integration of MDL-79295, but they should be re-enabled whilst working on this issue.
- Discovered while testing
-
MOBILE-4345 Sequential layout navigation not working in Quiz
- Closed
- is blocked by
-
MDL-79295 Fix existing mod_quiz_get_attempt_summary Web Service when sequential navigation is used
- Closed
- Testing discovered
-
MOBILE-4545 Allow finishing sequential quiz early
- Open