-
Bug
-
Resolution: Fixed
-
Major
-
2.4.4
-
MOODLE_24_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
As I said in summary:
- Create a test with following settings
- Multiple attempts (I did "unlimited")
- Turn "Each attempt builds on the last" on
- Restrict access (I did "institution" contains "FGWT"), which the admin doesn't match
- Do the test completely (with submission)
- Try to repeat the test
Then you get following Exception:
Debug Info: Failed to load questions_usage_by_activity |
Error code:
|
codingerror
|
Stack trace:
|
line 342 of /question/engine/datalib.php: coding_exception thrown
|
line 78 of /question/engine/lib.php: call to question_engine_data_mapper->load_questions_usage_by_activity()
|
line 224 of /mod/quiz/startattempt.php: call to question_engine::load_questions_usage_by_activity()
|