Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.6, 3.7.5, 3.8.2
-
MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
Description
In a Drag and Drop Into Text question type, a user can can add question answer slot by accidentally or intentionally leaving a gap. An example of which can be:
Question name: DDiT
Question text: The colours [[1]] and [[3]] are primary colours.
Choice 1 Answer: Yellow
Choice 2 Answer: [leave this blank/empty]
Choice 3 Answer: Blue
When this question is saved. The actual answers saved are only Choice1[Yellow] and Choice2[Blue]. Note that Blue was moved from 3 to 2.
This causes a mismatch in the slot and answer as the question text still expects [[1]] and [[3]].