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

Feedback broken for cloze MULTIRESPONSE with only one right answer

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Create a new Embedded answers (Cloze) question, with the following text:

        Please select the fruits {1:MULTIRESPONSE:=Apple#Good~%-50%Burger~%-50%Hot dog#Not a fruit~%-50%Pizza~=Orange#Correct~=Banana} and vegetables {1:MULTIRESPONSE:=Radish#Good~Chocolate~Biscuit}
        

      • Attempt the question, fill in any answer you want, then submit it and make sure the 'correct answer' feedback shows as:
        • Apple, Orange, Banana (for the first subquestion)
        • Radish (for the second subquestion)
      Show
      Create a new Embedded answers (Cloze) question, with the following text: Please select the fruits {1:MULTIRESPONSE:=Apple#Good~%-50%Burger~%-50%Hot dog#Not a fruit~%-50%Pizza~=Orange#Correct~=Banana} and vegetables {1:MULTIRESPONSE:=Radish#Good~Chocolate~Biscuit} Attempt the question, fill in any answer you want, then submit it and make sure the 'correct answer' feedback shows as: Apple, Orange, Banana (for the first subquestion) Radish (for the second subquestion)
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-55533_multiresponse_feedback

      Description

      Bug discovered after MDL-3782.

      Create a multiresponse subquestion in a cloze question, with only one correct answer.

      The 'correct answer' in the feedback is shown as a single, empty bullet point, without the correct answer in it.

      Patch to follow shortly.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16