Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.7, 2.8.10, 2.9, 3.0, 3.1
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
master_
MDL-50083 -
Description
A 'locked' (prevent submission changes) assignment that is reopened does not unlock when reopened and therefore does not allow the student to resubmit.
The UI does not give you the open to unlock the submission as the submission has been reopened. A URL can be generated to unlock the submission, but this isn't really a workaround for academic staff.
Not sure if the {assign_user_flags} table needs to related to each submission, or whether a resubmission should automatically remove any existing lock?
(Tested on 2.7 and qa.moodle.net)
Steps to replicate
- Create an assignment with resubmissions set to automatically reopen until pass and the submit button enabled. Set grade to pass to 50
- As a student, add an assignment. Do not submit the assignment
- As a teacher, 'Prevent submission changes' for the students submission
- Grade the student 49/100. The submission will be reopened
- As a student, try and resubmit to the assignment. As it is locked, the student will not be able to make submission changes