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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.9, 1.9.1, 1.9.2, 1.9.3, 2.4.2
    • Forum, RSS
    • MOODLE_19_STABLE, MOODLE_24_STABLE

      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).

            andyjdavis Andrew Davis
            argentum Vlas Voloshin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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