-
New Feature
-
Resolution: Fixed
-
Major
-
2.3.2, 4.0.6, 4.1.1
-
MOODLE_23_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_402_STABLE
-
This was intentionally ruled out of scope when the MDL-3030 work was done, but from various recent threads in the quiz forum, it seems this is functionality that people really need.
Technically, this is very easy to implement. We just need to set quiz_attempts.state back to 'inprogress'. That is, the opposite of what process_abandon in attemptlib.php does. Of course, we should also consider firing an event at that point.
This is the interface I have implemented:
- In the quiz reports, if an attempt has not been submitted, then in the 'State' column, after the text 'Never submitted', there is now a 'Re-open' button.
- If you click on that button, you get an "Are you sure?" pop-up.
- If you click Cancel there, nothing happens.
- If you cick the 'Re-open' button in the pop-up, then the attempt is re-opened, and the report page reloads.
- When I say the attempt is re-opened, there are two cases. If the student does not have any time left (which might well be the case, since the attempt was in the 'Never submitted' state. Then the attempt is immediately graded, and ends up in the 'Submitted' state.
- Alternatively, if the student now has time left (perhaps because the teacher changed th quiz settings, or added an override for this user) then the quiz is back in the 'In progress' state, and the student can continue.
From the original description: The question is, what UI should trigger this. Options include:
1. Do it automatically (cron) when teachers edit the quiz settings, or a group or use override, or add a user to a group with an override, or ... That rapidly gets very complex, but cron already has to deal with it, particularly after we fix MDL-35717.
2. Add a new button at the bottom of Results / Grades report, next to "Regrade selected attempts" and "Delete selected attempts", we could add "Re-open selected attempts". (Of course, it makes no sense to let teachers re-open an attempt if cron will just move it back to Never submitted very soon.)
3. We could make a special new report for re-opening Never submitted attempts, and/or submitting open attempts on behalf of the student, which only shows the applicable buttons for each attempt.
I am not really sure which of these ideas would work best.
Relevant forum threads include http://moodle.org/mod/forum/discuss.php?d=212819
- blocks
-
MDLQA-13707 CLONE - When a date is set but no time is set, the student will be able to submit an incomplete attempt when the date expires after the quiz CRON has run. When the grace period expires, with no submission the attempt is set to "Never submitted".
-
- Passed
-
- has a non-specific relationship to
-
MDL-3030 Late quiz attempts should be closed automatically
-
- Closed
-
-
MDL-24814 Teachers' ability to submit students' open quiz attempts
-
- Reopened
-
- has been marked as being related by
-
MDL-37846 new feature: manually close abandoned (open) quiz attempts, after quiz was finished (closed)
-
- Closed
-
- is duplicated by
-
MDL-57776 Quiz: Create a capability to be able to change statuses of user's attempts
-
- Closed
-