-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5.1, 4.5.2, 4.5.3, 4.5.4, 4.5.5, 5.0
In MDL-84327 fixes were applied to account for assignment restrictions or hidden assignments when sending notifications about them.
However, when a student's submission deadline is changed by granting them an extension, their new due date is disregarded and they still receive notifications related to the main assignment due date.
This does not happen though when a student's submission deadline is changed through the override functionality. That is likely because the override changes the date in the 'Due date' column of the overridden student, whereas granting an extension just adds the text 'Extension granted until: <date & time>' to their 'Status' column. This could be resolved by making extensions also change the 'Due date' column like the overrides do.
Affected notifications identified:
- Assignment due soon notification;
- Assignment overdue notification;
- Assignments due in 7 days notification;
Steps to reproduce:
- Log in as a teacher.
- Create a new course;
- Enrol one student in this course;
- Create an assignment activity;
- Ensure the assignment is open and available to students;
- Set the assignment due date at least 7 days in the future;
- Navigate to the Submissions tab of the assignment and select the student;
- From the bottom menu click More and then Extend;
- Click Extend again in the pop-up window;
- On the next screen change the Extension due date to be one day later than the main due date of the assignment and then click Save Changes;
- The student will receive the assignment email notifications listed above quoting the assignment main due date rather than the extended due date this student was granted.