-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.1, 4.5
-
MOODLE_404_STABLE, MOODLE_405_STABLE
-
-
Changing the Grading type on a live qtype_ordering question and regrading existing submissions completely breaks them. The order of the items in the submissions is basically randomly shuffled.
Steps to reproduce:
- Create a course with a quiz and add a qtype_ordering question to it. Add a few items to it, but leave everything else unchanged.
- Add a student to the course and make it attempt the quiz. Remember the order of the items in the submission.
- Go to the question settings and change the "Grading type", say to "Relative to correct position".
- Go to quiz results and press the "Regrade all" button.
- Check the existing submission.
Expected behavior: The order of the items is unchanged, the grade is updated according to the new grading type.
Observed behavior: The order of the items is changed randomly.