-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.3, 4.4
-
MOODLE_403_STABLE, MOODLE_404_STABLE
Hi,
This has been reported in the forum (link) to be something happening and preventing a valid use case.
The Moodle mobile app is session-less, meaning that the value of the global $SESSION does not persist between different requests, this is preventing this functionally to work as expected.
As a possible solution we could use a user preference (stored in the data base) or implement something specific by checking the global WS_SERVER in the mod/quiz/accessrule/password/rule.php
To reproduce:
- Create a quiz with several questions in different pages, access rule password enabled
- A student starts an attempt in the mobile app, introduces the password and complete the first question
- A teacher changes the quiz password
- The student then tries to open the second question (different page)
- A error is displayed (the password has changed)
Expected result:
- The student is able to continue the quiz without being asked for the password again