-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.5, 4.1, 4.2
-
MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
-
MOODLE_403_STABLE
-
MDL-76717_master -
Steps to reproduce:
- Create a course.
- Create a question category.
- Add a question.
- Create a quiz.
- Add one random question to the quiz, picking from that category.
- Attempt the quiz as a student.
- Go back to the question bank, and verify it shows that the question is used in one quiz.
- Edit the question. No need to change anything, just save.
Actual result: The question bank now shows that this qustion (bank entry) is not used.
Expected result: It is still used!
The problematic code is in question/bank/usage/classes/helper.php (and quite a lot about the code there is quite problematic .)