-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
MDL-72991-master-4 -
-
1
-
HQ Team International CIH2-212, HQ Team International CIH2-213, HQ Team International CIH2-215, HQ Team International CIH2-216, HQ Team International CIH2-217, HQ Team International CIH2-218
I've been tracking down a bug which I believe to be a major and serious regression causedby MDL-55231.
The changes in that issues modified the course modinfo cache to allow for partial rebuilds. In some cases (currently section, but others may also apply) the following happens when calling the move_section_to() function:
- The course sections which have been modified are purged from the cache with course_purge_section_cache($sectioninfo);
- The cache is cleared with rebuild_course_cache($course->id, true, true); which does not rebuild the cache, but clears some of the local caches
- later on, the same {$course} object is used to fetch another copy of the modinfo
- Because it is the same $course object, it has the same $cacherev as it had when it was first requested, and therefore matches the $coursemodinfo->cacherev (https://github.com/moodle/moodle/blob/8af7bec81e8da777c3895c7eecaf84dffd24c6be/lib/modinfolib.php#L479)
- That means that we never call self::inner_build_course_cache
- WHich means that the section is never rebuilt
- caused a regression
-
MDL-77397 Class course_modinfo should cast type in its constructor or validate $course
- Development in progress
-
MDL-81937 Changing icon of preconfigured LTI tool is slow
- Development in progress
-
MDL-75736 Course cache rebuilt unnecessarily if $course has old cacherev
- Closed
- Discovered while testing
-
MDL-72569 Improve "move to" tool accessibility following ARIA tree pattern guidelines
- Closed
- has a non-specific relationship to
-
MDL-72993 Allow developer to specify whether random sequences _may_ be used when initing test sites
- Open
- has to be done after
-
MDL-72995 Revert broken partial cache rebuild improvement
- Closed
- is a regression caused by
-
MDL-55231 Partial course cache rebuild
- Closed
- is blocked by
-
MDL-72837 core_cache: Cache API should support versioned data
- Closed