-
Bug
-
Resolution: Fixed
-
Minor
-
4.5
-
MOODLE_405_STABLE
-
MOODLE_405_STABLE
-
MDL-83053-main -
-
2
-
HQ 2024 Sprint I3.2 Moppies
This issue is part of the course hierarchy project.
Subsections use a particular activity plugin to point to the course position. However, this introduced some problems in formats that do not use sections. The setting in single activity format shows subsection as a valid setting when it should not.
Steps to reproduce :
- Login as admin and go to the courses page.
- Select create a new course form the my course action menu
- In the course creation format open the format settings
- Set the format to "single activity format" and wait for the page to reload.
- Now check the values in "Type of activity"
- Expected: subsection should not appear
- What happens: subsections appear. If you use it the course page is blank and the activity chooser is not working as expected.
Technical shaping
- Activities extending sectiondelegate class shouldn't be used in course formats without sections.