-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.4
-
None
-
MOODLE_404_STABLE
Hi Team
This issue seems to be related to MDL-73309 which occurs due to calendar subscriptions are kept when their assigned groups are deleted.
With the calendar setting "Admin see all" activated, this causes an exception.
Steps:
- Activate "calendar_adminseesall" setting
- Create a course and add a group
- Navigate to the Calendar
- Import a calendar subscription for that group of that course
- Delete the group in step 1
- Allow the task "\core\task\calendar_cron_task" to process the calendar subscription
- View Calendar with "Admin see all" setting active
Observations:
- the calendar subscription with orphan group exists with a non-existing group link
- the cron task creates events for those calendar subscriptions
- Exception (with "calendar_adminseesall" )
Exception - property_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given |