To reproduce
- Having a course with groups A and B, create a forum activity with its Groups mode set to "Separate groups"
- Create a discussion for Group B.
- Delete Group B
- Check the forum_discussions table.
- You'll see that the discussion for Group B still contains group B's ID in the "groupid" column.
This orphaned discussion won't be rendered in the UI anymore. So we need to do something about this. Either:
- We delete the group discussion; or
- Remove the group ID, exposing the forum discussion to all the course participants.
Other suggestions/ideas welcome.
- Discovered while testing
-
MDL-65608 Undefined offsets in Forum
- Closed