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

Deleted forum posts/discussions stay in forum's RSS feed until any other posts/discussions are added

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.9, 1.9.1, 1.9.2, 1.9.3, 2.4.2
    • Fix Version/s: None
    • Component/s: Forum, RSS
    • Labels:
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_24_STABLE

      Description

      When deleting posts or discussions from a forum with RSS, no editions are made to the feed. As cron tests whether to refresh forum's RSS feed by checking the most recent post's date/time and comparing it to date/time of RSS XML file, it doesn't refresh the feed when posts/discussions are deleted, so they stay in the feed, causing confusion to users (especially by link to deleted discussions). The solution may be to force refreshing of the feed when user has deleted post or discussion, but not in the post deleting function in the library, because the system might end up refreshing the same feed many times due to recursive deleting of child posts or whole discussion.
      The attached patch introduces this solution (applied with -p0).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andyjdavis Andrew Davis
                Reporter:
                argentum Vlas Voloshin
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: