Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65625

Deleting a group can lead to orphaned group forum discussions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.6.4, 3.11.10, 4.0.4
    • Forum
    • MOODLE_311_STABLE, MOODLE_36_STABLE, MOODLE_400_STABLE

    Description

      To reproduce

      1. Having a course with groups A and B, create a forum activity with its Groups mode set to "Separate groups"
      2. Create a discussion for Group B.
      3. Delete Group B
      4. Check the forum_discussions table.
      5. 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:

      1. We delete the group discussion; or
      2. Remove the group ID, exposing the forum discussion to all the course participants.

      Other suggestions/ideas welcome.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpataleta Jun Pataleta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.