-
Bug
-
Resolution: Fixed
-
Critical
-
2.9.5, 3.0.3
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
Using the drag and drop quiz editor, if you drag a question above page one, then let go, you get unexpected results.
The UI redraws the question back on Page 1, but if you reload the page, you will see the question, and page 1 entirely is gone, with the quiz starting on page 2.
The teacher and students cannot see the question, but it will be counted against students after they take the test, as an unanswered question.
Somehow or another, the first section for the quiz in mdl_quiz_sections, the firstslot value gets moved up to 2, so slow 1 now isn't apart of any quiz section, resulting in the problem. I would expect that every quiz should always have a section that starts at slot 1 (eg the lowest firstslot value for a quiz should always = 1)