Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.5, 2.1.2, 2.2
-
Component/s: Assignment (2.2)
-
Database:Any
-
Testing Instructions:
-
Affected Branches:MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
Fixed Branches:MOODLE_20_STABLE, MOODLE_21_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-mdl-27521-master
-
Pull Master Diff URL:
Description
The 'Prevent submission updates' button on the grade page for a single user doesn't check for an existing submission when it tries to update the submission record to toggle finalize/unfinalize. This causes a db exception (as the record doesn't exist).
Replication instructions:
- Create a new assignment.
- Go to the grades page for the assignment (View submissions link on assignment page).
- Click on the 'Grade' button in the status column for a user (that hasn't submitted yet).
- Click on the 'Prevent submission updates' button