-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
Having a user with multiple enrolments in a course (e.g. self plus manual enrolment), when adding a user override to the quiz the following debugging is observed on the screen:
Did you remember to make the first column something unique in your call to get_records? Duplicate value '3' found in column 'id'.
|
|
line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
|
line 166 of /mod/quiz/classes/form/edit_override_form.php: call to mysqli_native_moodle_database->get_records_sql()
|
line 217 of /lib/formslib.php: call to mod_quiz\form\edit_override_form->definition()
|
line 80 of /mod/quiz/classes/form/edit_override_form.php: call to moodleform->__construct()
|
line 113 of /mod/quiz/overrideedit.php: call to mod_quiz\form\edit_override_form->__construct()
|
Seems to be caused by this change from MDL-71261 (Lesson and Assignment activities don't have the same problem) - it should discard duplicate users
- Discovered while testing
-
MDL-79280 Exception when creating a quiz user override
-
- Closed
-
- has been marked as being related by
-
MDL-79553 Duplicate enrolment makes student counted twice in quiz report overview chart
-
- Open
-
- is a regression caused by
-
MDL-71261 Quiz user override should only get enrolled users
-
- Closed
-