-
Bug
-
Resolution: Fixed
-
Critical
-
3.5.1, 3.5.2
-
MOODLE_35_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
Reproduction steps
- Install Moodle
- Create a course
- Go to Question Bank and create a "True/False" question in the course's default category
- Create a quiz in the course
- Add a "random question" to the quiz using the course's default question category
- Duplicate the quiz
- Duplicate the quiz again
- Duplicate the quiz yet again
Expected result
The mdl_question table contains 5 rows:
- 1 row containing the "True/False" question created in step 3
- 1 row containing the "random question" added in step 5
- 1 row containing the "random question" from duplicating the quiz in step 6
- 1 row containing the "random question" from duplicating the quiz in step 7
- 1 row containing the "random question" from duplicating the quiz in step 8
Actual result
The mdl_question table contains 9 rows:
- 1 row containing the "True/False" question created in step 3
- 1 row containing the "random question" added in step 5
- 1 row containing the "random question" from duplicating the quiz in step 6
- 2 rows containing the "random question" from duplicating the quiz in step 7
- 4 rows containing the "random question" from duplicating the quiz in step 8
The number of questions created through duplicating the quiz seems to have exponential growth.
- duplicates
-
MDL-38870 Questions duplicated during import/restores
- Open
- has been marked as being related by
-
MDL-64799 Backport to 3.4.x? MDL-63260 Duplicating quiz with random question has exponential questions growth
- Closed
- is a regression caused by
-
MDL-45851 Duplicated quizzes reuse qtype_random (and should not)
- Closed
- Testing discovered
-
MDL-64595 Quizzes with random questions create duplicate question entries
- Closed