Skip to content

Conversation

@jboulen
Copy link

@jboulen jboulen commented Oct 17, 2025

In Moodle 5.0, there is a bug when moving an activity in a course that contains a question bank.

After moving, the new "qbank" module appears as activity in the course interface, when it shouldn't be.

We propose this fix, based on the changes made in the Moodle core (here and there).

I'm not sure, but maybe is_of_type_that_can_display() should be used in this case too ?

@gjb2048
Copy link
Collaborator

gjb2048 commented Oct 23, 2025

@jboulen This is just a patch, need evidential testing, what are the steps to replicate please?

@gjb2048
Copy link
Collaborator

gjb2048 commented Oct 27, 2025

@jboulen Okay, thinking about it further given the logic of the core change, I'll take it from there. I won't be able to patch here as I have a development repository and use this purely for releases.

@gjb2048 gjb2048 added the Triaged Issue read and is on backlog label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Triaged Issue read and is on backlog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants