-
Bug
-
Resolution: Fixed
-
Major
-
3.1, 3.1.3
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
wip-
MDL-55547-master -
-
3.3 sprint 3
To reproduce -
1. create a site rule for monitoring
2. create a course
3. subscribe to the event monitoring rule for that course
4. delete the course, without first unsubscribing from the rule
5. visit the user's event monitoring page (dashboard > preferences > event monitoring)
Under these circumstances, I am getting an error - "Can not find data record in database table course"
It seems that the problem is caused by records not being removed from mdl_tool_monitor_subscriptions when the corresponding course is deleted from the site.
- is a regression caused by
-
MDL-46510 Event monitor: Delete rules when course is deleted
- Closed