Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.4.5, 3.5.2, 3.7
-
Component/s: Quiz
-
Testing Instructions:
-
Affected Branches:MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_35_STABLE, MOODLE_36_STABLE
-
Pull from Repository:
-
Pull 3.5 Branch:
MDL-63870_35 -
Pull 3.5 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Steps to reproduce:
- Install https://moodle.org/plugins/quizaccess_honestycheck (standard quiz Password access restriction may also work)
- Create a quiz using that access restriction
- Click "Start attempt"
- Complete the form that pops up.
- Answer one question (not essential).
- Click "Start another preview"
- Now, on the start attempt form, click cancel.
Actual result: You are on the quiz view.php page. In the table that lists your attempts, you can see your old preview, with a sumbitted date of 1st Jan 1970 (unix date 0).
Expected result: Something else. Either the preview should already be deleted, or perhaps we should use Abandoned state, rather than Finished.