Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52703

When we modify cloze questions, once the quiz attempts have been created, the multichoice questions inside, lose their values

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8.9, 3.0.1
    • Fix Version/s: None
    • Component/s: Questions
    • Labels:
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_30_STABLE

      Description

      We have found an unexpected behaviour in cloze questions.
      In order to reproduce it:

      Create a question cloze.
      Create a numerical question and a multichoice question, for instance:

      Upper limit:

      {1:NUMERICAL:=37.7511:0.01}

      Which is the alternative hypothesis to test the first goal?:

      {1:MULTICHOICE:%0%H1: mu NOT EQUAL 40~%0%H1: mu &\#62; 40~0%H1: mu < 40}

      Save the question cloze and create a quiz with it.
      As student, do the quiz and save the attempt.
      As student, preview the attempt.
      As a teacher, modify the tolerance of the numerical question (e.g., 0.01 to 0.1) and save the question.
      As student, refresh the preview of your attempt.
      You can see the answer to the multichoice question has disappeared and instead of it you can see the value "This choice was deleted after the attempt was started"

      We expect don't lose the value of any answer.

      The moodle version we have is 2.8.9, but you can reproduce it in 3.0.1 version too.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: