moodle-format_topcoll
moodle-format_topcoll copied to clipboard
Incompatibility with mod_subsection
Describe the bug Moodle 4.5 introduced mod_subsection which provides the possibility to add subsections to a course. When adding a subsection in format_topcoll a section "Orphaned activities" is being shown including a message that the section is not part of the course structure and the contained activities will not be visible to the students.
I suspect this is a bug?
To Reproduce Steps to reproduce the behaviour:
- Use Moodle 4.5
- Create course with format_topcoll as course format
- In website administration enable the plugin mod_subcourse
- Enable edit mode
- Add a subsection by using the square plus icon in the course content area in a section
- See the described error message
Screenshots
Versions (please complete the following information):
- Moodle: 4.5
- Format: latest main , 405.0.1
Not a bug, as that would be because of a fault in the code, but the need to support new core functionality. Already spent quite a bit of time on this in private development repository to avoid issues with users thinking they can install development code in production. Solution will happen when it happens.
Thanks for the quick reply. I considered it as a "bug", because there is a version declared to be compatible with moodle 4.5 which apparently is not the case. I understand that it's not necessarily easy to implement new functionality. Is there a chance to quick fix this in a way that the usage of subsections is disabled in format_topcoll even if mod_subsection is enabled globally? That would be great to have until it is implemented properly?
CT is compatible with M4.5, just not with Subsections which are an option you have to enable.
No quick fix either way. Only current solution is to disable subsections globally.
Hopefully working in V405.0.3+