-
Bug
-
Resolution: Fixed
-
Critical
-
2.3.6, 2.4.3, 2.5
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
This is an issue in both normal Short Answer and SHORTANSWER questions in an Embedded Answers (Cloze) question. I've attached a Cloze question to make it easy to see all the possibilities.
1) Import the attached question file (MoodleXML).
2) Preview the question.
3) Enter an answer of "0" for each question. Only the first question is marked as correct. All should be marked as correct.
4) Enter an answer of "0 pairs" for each question. All are marked as expected.
5) Enter an answer of "The answer is 0" for each question. All are marked as expected.
I recently upgraded from 2.4.1+ to 2.4.3. Many students before the upgrade took a quiz with a similar question and it was graded correctly. A student doing a makeup after the upgrade was graded incorrectly.