-
Bug
-
Resolution: Fixed
-
Minor
-
4.3.6, 4.4.1
To reproduce
- Create a quiz with a random question, set the category to the default category for the quiz
- Check the mdl_question_set_references table, taking note of the "questionscontextid" column
- Edit the random question, changing the category to "Top for system" and save
- Look at the mdl_question_set_references table
- Note that the "questionscontextid" column has not updated - it will still show the same context ID as before
I believe this was bug was introduced by MDL-72321 because (at least in 4.1) the "questionscontextid" column updates when changing the category for a random question.