Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4432

Embedded answers (Cloze) offline completion is not calculated properly

    XMLWordPrintable

Details

    • MOODLE_402_STABLE

    Description

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            noeldemartin Noel De Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.