-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.2.0
-
MOODLE_402_STABLE
Multianswer type questions (aka Embedded answers or Cloze) completion is not calculated properly in offline mode, particularly for multiple choice inputs.
The problem seems to arise from the isCompleteResponse method in the handler, which doesn't have into account multiple choice inputs which don't always need to be checked. The implementation should probably do something similar to the multichoice handler for these cases.
Specifically, a way to reproduce this issue is the following:
- Create a quiz with a multianswer question containing a multichoice input.
- Attempt the quiz in offline mode, and select only one of the choices in the question.
- Proceed to the summary, and notice how the status for the question will be "Incomplete answer" (Should be "Answer saved" instead).