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

Notices are generated on course page after deleting a grouping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.5, 2.6.5, 2.7.2
    • Caching, Groups
    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE

      1. Login as admin
      2. Enrol 2 students to the course (s1, s2)
      3. Create 1 group, and 1 grouping in the course
        • The group contains both students
        • The grouping contains the group 1
      4. Create a forum with
        • Tracking enabled
        • Separate groups
        • Grouping set to A
      5. Login as both students and enable forum tracking in your preference
      6. Login as s1 and post to the forum
      7. Login as s2 and make sure you see the number of unread posts (1) in the course page
      8. Login as admin and delete the grouping A
      9. Login back as s2
      10. Make sure you see the number of unread posts
      11. Make sure you don't see any notice
      12. if you donot see the error straight away just visit the settings page for forum once and go back to course page without saving.

      On step 10 Notices are generated as mentioned in
      https://tracker.moodle.org/browse/MDL-39947?focusedCommentId=227956&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-227956

      The reason is groupind id is still set for $mod, even though it is updated in database.
      Purging caches didn't help

            Unassigned Unassigned
            ankit_frenz Ankit Agarwal
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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