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

Feedback broken for cloze MULTIRESPONSE with only one right answer

    XMLWordPrintable

Details

    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-55533_multiresponse_feedback
    • 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)

    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

              davosmith Davo Smith
              davosmith Davo Smith
              Tim Hunt Tim Hunt
              Dan Poltawski Dan Poltawski
              Frédéric Massart Frédéric Massart
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/16