Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.1
-
Fix Version/s: 3.1.3
-
Component/s: Assignment
-
Labels:
-
Database:Any
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE
-
Fixed Branches:MOODLE_31_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-55472-assign-extend-ignored-validation
Description
If you try to grant extension to a user with extension date earlier than assignment duedate/allowsubmissionfromdate, Moodle throws SQL error caused by $submitteddata not being populated in view_grant_extension function in mod/assgn/locallib.php as $form failed validation. The functionality is broken by commit 26670f5ee963547a7e16b7079ee704d8c668d7e1 .