Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with mod_subsection #155

Open
PhMemmel opened this issue Feb 12, 2025 · 3 comments
Open

Incompatibility with mod_subsection #155

PhMemmel opened this issue Feb 12, 2025 · 3 comments
Assignees
Labels
Can reproduce Enhancement Nightmare For issues that are complex and horrible.

Comments

@PhMemmel
Copy link
Contributor

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:

  1. Use Moodle 4.5
  2. Create course with format_topcoll as course format
  3. In website administration enable the plugin mod_subcourse
  4. Enable edit mode
  5. Add a subsection by using the square plus icon in the course content area in a section
  6. See the described error message

Screenshots

Image

Versions (please complete the following information):

  • Moodle: 4.5
  • Format: latest main , 405.0.1
@gjb2048
Copy link
Collaborator

gjb2048 commented Feb 12, 2025

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.

@PhMemmel
Copy link
Contributor Author

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?

@gjb2048
Copy link
Collaborator

gjb2048 commented Feb 12, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Can reproduce Enhancement Nightmare For issues that are complex and horrible.
Projects
None yet
Development

No branches or pull requests

2 participants