Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.4, 3.2.1, 3.6
-
Component/s: Questions
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_36_STABLE
-
Fixed Branches:MOODLE_36_STABLE, MOODLE_37_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Steps to reproduce:
- Ensure that quiz auto-save is turned on in the quiz admin settings, and set the delay to something short like 10 seconds.
- Create a quiz set to Interactive with mulitple tries behaviour.
- Add one true-false question to the quiz. Make sure you put in feedback for each choice.
- As a student, start a quiz attempt.
- Select an answer to the true-false question, then wait 10 seconds for auto-save to do its thing. (Having browser developer tools open will help you verify this has happened.)
- Log out, ignoring any warning about unsaved data.
- As teacher, go and review this student's quiz attempt.
Expected result: you can see the response the student selected, but no feedback.
Actual result: feedback is visible. Response history in the table under the question shows a 'Submit' action. If you re-grade the quiz attempt, suddenty the student gets a mark awarded for this question, when they did not have one before.
Quiz auto-save should ignore any <button> or <input type="button"> form controls.
Attachments
Issue Links
- has been marked as being related by
-
MDL-58026 Regrading a quiz in progress causes student to lose data
-
- Closed
-