Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0
-
MOODLE_30_STABLE
-
MOODLE_30_STABLE
-
wip-
MDL-51604-master -
- Create a course with some tags
- Look at the Logs report and make sure that course created event appears there before enrolment instances and tags events.
Description
Discovered while working on MDL-44640
in funciton create_course() \core\events\course_created is triggered after we add blocks, enrolment instances, etc.
This may be good for event observers but in the logs it will look like we first create enrolment instances for some course and THEN create a course itself.
I had to adjust unit tests in MDL-44640 because the course_created event is no longer the first one in the sink after creating the course.
Attachments
Issue Links
- Discovered while testing
-
MDL-44640 Events for managing enrolment instances
-
- Closed
-