-
Bug
-
Resolution: Fixed
-
Critical
-
2.3.7, 2.4.4, 2.5
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
wip-
MDL-40344-m26 -
This is an annoying issue to reproduce, you need to have the following situation:
- Two categories A and B
- One course C which has the same ID as Category B. This course should be in Category A.
- One course D which has a random ID and is in Category B.
- A user enrolled in both courses.
I hit this with my generated site that contains 25+ categories (3 levels deep) and 100 courses randomly assigned to categories.
With the above situation produced:
- proceed to enrol a student in all courses.
- Log in as the student
- Using the navigation block expand the My courses branch, and then expand the first category.
- Now try to expand the sibling category.
- You'll likely get the wrong content.