-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.5
-
MOODLE_27_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
Steps to reproduce:
- Create a quiz.
- Add a matching question with three subquestions Dog -> puppy, Cat -> kitten, Pony -> foal.
- Attempt the quiz as a student.
- At teacher, edit the question, and delete the Dog -> puppy subquestion.
- Review the student's attempt.
Desired result: The teacher was shot before they did something silly like that.
Expected result: the question is displayed with something like "Deleted sub-question" in place of the missing thing. (A bit like how multichoice handles it.)
Actual result: PHP Notice: Undefined offset: 125938 in /vle/www_root/question/type/match/renderer.php on line 127