-
Improvement
-
Resolution: Fixed
-
Critical
-
3.4, 3.9
-
MOODLE_34_STABLE, MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-58866-master-2 -
There are many components that should create events for the students dashboard that are not modules. We need to use the magic 4 columns instead of just modulename and instance.
context, component, itemid and area.
–
Comments about the implementation:
- Added column "component"
- The existing column "eventtype" can be used as "area"
- The existing column "instanceid" can be used as "itemid"
- The existing columns "courseid" and "categoryid" should be used as context, courseid=SITEID means system context, courseid=<courseid> means course context, categoryid=<categoryid> means course category context. If neither courseid nor categoryid is specified, the event is considered to be user event and has a user context. Important! In this case if userid is not passed when creating event, the id of the current user is taken and event is considered to be his personal event. This is the current implementation/limitation of the calendar API and it is very difficult to change it.
- has a non-specific relationship to
-
MDL-58867 Fatal errors when trying to create an action calendar event outside of the module
- Closed
-
MDL-65699 Check if string exists to avoid 'invalid get_string() identifier' msg when using calendar events in non modules
- Closed
- has been marked as being related by
-
MDL-65066 Allow calendar event types to be plugable
- Open
- Testing discovered
-
MDL-63016 Some event types are missing on the edit event modal
- Closed