-
Bug
-
Resolution: Fixed
-
Minor
-
4.5
-
2
-
Team Hedgehog 2024 Sprint 4.3, Team Hedgehog 2025 Sprint 1.0
- get_users_within_assignment
- send_due_soon_notification_to_user
send_overdue_notification_to_user
send_due_digest_notification_to_user
These methods inside mod/assign/classes/notification_helper.php check for user submissions by seeing if a record is returned from get_user_submission.
It was assumed that no record means no submission. That is not correct as I found out using these steps:
- Create a course with an activity
- Enrol a student into the course
- Open up the mdl_assign_submission table and observe no entry for the student yet
- Log in as the student and click on the assignment (don't submit or anything else)
- Refresh your mdl_assign_submission table and observe the new entry
- This can give a false sense of completion