-
Bug
-
Resolution: Fixed
-
Minor
-
3.4.5, 3.5.2, 3.7
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_37_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
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.