-
Improvement
-
Resolution: Fixed
-
Blocker
-
3.1.17, 3.4.8, 3.5.5, 3.6.3, 3.7
-
MOODLE_31_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-65029-master -
As part of the standard question renderer, the outer div that contains the whole question (the one that has class="que ..." get a supposedly unique id="" added.
Unfortunately, the id that is used 'id' => 'q' . $qa->get_slot(), is not always unique. It works during a quiz attempt, where a page will show different questions all from the same question_usage. However, it does not work in places like the quiz manual grading report, where it shows the same question from lots of different attempts. (That is what causes MDL-52572.)
So, we need to change it, and the natural thing to change it to is [... I forget. lameze and I worked it out in MDL-5311. I hope Simey still has his code and can finish this bit and make a patch.]
However, the original id is used in various question types (for example https://github.com/moodle/moodle/blob/master/question/type/ddwtos/renderer.php#L45), so this change will need to be called out in question/type/upgrade.txt and the release notes.
- blocks
-
MDL-5311 clear answer choice in multiple choice
- Closed
- caused a regression
-
MDL-65570 display bugs in multianswer/cloze question
- Closed
-
MDL-65883 Quiz navigation buttons are broken in 3.7.
- Closed
-
MDL-69165 Incorrect question div id used in M.core_question_engine.init_submit_button
- Closed
-
MOBILE-2998 ddimageortext and ddmarker are broken in Moodle 3.7
- Closed
- has a non-specific relationship to
-
MDL-52572 Student answers to drag-and-drop onto text questions are not displayed when grading manually
- Closed
-
MDL-5311 clear answer choice in multiple choice
- Closed
- is a regression caused by
-
MDL-20636 META: Question engine re-write
- Closed
- is duplicated by
-
MDL-52572 Student answers to drag-and-drop onto text questions are not displayed when grading manually
- Closed