-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.9, 4.4.5, 5.0
-
MOODLE_401_STABLE, MOODLE_404_STABLE, MOODLE_500_STABLE
-
MOODLE_404_STABLE, MOODLE_405_STABLE
-
mdl-82679_404_wip
-
mdl-82679_405_wip
-
mdl-82679_main_wip
-
-
-
Because section collapsing is done by section number, not ID, and section numbers can change, it's possible for two sections to end up with the same number for collapsing purposes, and conflict.
I think it would be easy enough to fix. Just replace coursecontentcollapse{{num}} and collapssesection{{num}} with coursecontentcollapse{{id}} and collapssesection{{id}} . The only issue would be how to identify the resulting HTML elements for Behat testing.
- will be (partly) resolved by
-
MDL-82709 Prefer section IDs over section nums in course format code
-
- Waiting for peer review
-