This issue is affecting the display of the answered question that is rendered on the quiz review attempt page. When a teacher has edited the question after the student has attempted the question, the page that displays the question attempt is getting some of the data used to display the question from the edited question instead of the data saved with the attempt which is causing the review attempt question to render showing that it was answered differently to how it has been marked.
What is expected when viewing the quiz attempt review is that the page will show the questions as they were answered.
Steps to reproduce this issue for a multiple choice question.
- Create a Quiz.
e.g. Name: "mountain test quiz" - Add a multiple choice question.
e.g. Question name: "highest point"
Question text: "What is the highest point on a mountain?"
One or multiple answers? "One answer only"
Shuffle the choices? "unticked"
Choice 1 text: "bottom"
Choice 2 text: "top"
Choice 2 Grade: "100%"
Save Changes - Attempt quiz
- Answer question choosing "top"
- Finish attempt
- Submit all and finish
- View attempt review
- Edit the quiz question
e.g. Change Question text: "Select the highest point on a Mountain?"
Change Choice 1 text: "Bottom"
Change Choice 2 text: "Middle"
Change Choice 2 Grade: "none"
Add another choice
Set Choice 3 text: "Top"
Set Choice 3 Grade: "100%"
Save Changes - Go to the previously attempted quiz review
The review now shows that the student answered "Middle" with a red X marking it as incorrect, but also tells the student "Your answer is correct." and that the correct answer is "Top", an option that is not available in the displayed question.
- duplicates
-
MDL-71696 Add question versions
-
- Closed
-