-
Bug
-
Resolution: Fixed
-
Critical
-
4.5.1, 4.5.4
-
6
-
Team Hedgehogs 2025 Sprint 1.1, Team Hedgehogs 2025 Sprint 1.2
The new quiz/assignment notifications do not take into consideration any restrictions applied to activities. If a quiz/assignment is restricted to just a few students in a course, these notifications will still be sent to all course participants. We tested group, grouping and user profile restrictions, but it is possible all restriction types are affected.
Affected notifications identified:
- Assignment due soon notification;
- Assignment overdue notification;
- Assignments due in 7 days notification;
- Quiz opens soon.
Steps to reproduce issue:
- Create a new course;
- Enrol at least two students in the course (Student A and Student B)
- Create two groups, Group A and Group B.
- Add Student A to Group A and Student B to Group B.
- Add an assignment and a quiz activity;
- Set the assignment due date at least 7 days in the future;
- Set the quiz start date at least one day in the future;
- Add a restriction to the assignment to only be available to students from Group A;
- Add a restriction to the quiz to only be available to students from Group B;
- Save everything and wait;
- Student A will incorrectly receive email notifications from both the quiz and the assignment;
- Student B will also incorrectly receive email notifications from both the quiz and the assignment;
This can be reproduced by using a grouping or user profile restriction too, and possibly other restrictions as well.
- is a regression caused by
-
MDL-79716 Notifications - Upcoming Assignment Due
-
- Closed
-
-
MDL-79718 Notifications - Upcoming Quiz Open
-
- Closed
-
- is duplicated by
-
MDL-85051 Assignment Due Email Notifications Going Out to Students on Hidden Assignment
-
- Open
-
-
MDL-84468 Send the due digest notification to students in a hidden assignment
-
- Closed
-
-
MDL-84691 mod_assign due tasks fail if user inactive
-
- Closed
-
- Testing discovered
-
MDL-84589 Issues in the upcoming quiz notifications code
-
- Open
-
-
MDL-85571 "Assignments due in 7 days" notification sent to all students, ignoring access restrictions
-
- Closed
-
- will help resolve
-
MDL-84089 Error in queue_assignment_due_soon_notification_tasks_for_users and queue_all_assignment_due_digest_notification_tasks
-
- Closed
-
-
MDL-84098 Assignment queue_assignment_overdue_notification_tasks_for_users fails for suspended users
-
- Closed
-
-
MDL-84097 Quiz queue_quiz_open_notification_tasks_for_users fails due to suspended user
-
- Closed
-