Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.3, 3.2, 3.8.3, 3.9
-
Fix Version/s: 3.8.4
-
Component/s: Quiz
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
Fixed Branches:MOODLE_38_STABLE
-
Pull from Repository:
-
Pull 3.8 Branch:
MDL-57240_38 -
Pull 3.8 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Steps to reproduce
- You need a quiz set to When time expires: There is a grace period when open attempts can be submitted, but no more questions answered. Set the Grade period to 1 day, and the Time limit to 1 minute.
- Add at least on question to the quiz.
- As a student, start an attempt at the quiz. Do not submit, anything. Just navigate away from quiz (e.g. go to the course page.)
- Wait for time to expire.
- Go back to the quiz, and click Continue attempt.
This will take you to the attempt summary page, with a message saying that the quiz is now overdue.
Actual result:
- In the table that lists the status of each question, the question number is a link. When you click it, you just get redirected back to the same page.
- In the Quiz navigation block, the question numbers are links. Again, they just redirect you back to the same page.
Expected results: Those elements should be present on-screen, but in this case ($attemptobj->get_state() == quiz_attempt::OVERDUE) they should not be links.
Attachments
Issue Links
- Testing discovered
-
MDL-68499 Quiz / Behat: there are not tests of the handling of overdue attempts
-
- Open
-