-
Bug
-
Resolution: Fixed
-
Minor
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
mdl-80917-402
-
mdl-80917-403
-
mdl-80917-main
-
The asynchronous_copy_task class does not clear the course cache after running, yet it updates the course record. This can cause problems, such as failing core unit tests if get_fast_modinfo is called from a \core\event\course_restored handler.
1) core_backup\copy_helper_test::test_course_copy |
Failed asserting that '0' matches expected 1582386400. |
2) core_backup\copy_helper_test::test_course_copy_no_users |
Failed asserting that '0' matches expected 1582386400. |
3) core_backup\copy_helper_test::test_course_copy_students_data |
Failed asserting that '0' matches expected 1582386400. |