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

Deleted Forum & Blog Posts in RSS Block

    XMLWordPrintable

    Details

    • Database:
      MySQL
    • Testing Instructions:
      Hide

      Make sure that blogs and RSS are enabled. They're both under Advanced features.

      BLOG

      Go to My profile > blogs and add an entry.

      Just below the add an entry is a link to the RSS feed. Check that your new post appears in the feed (you can just open the feed in your browser and scan through the XML)

      Delete the blog post. Reload the RSS feed and check that the post is gone from the feed.

      FORUM

      Be aware that if even if you add multiple forum posts or discussions the RSS code will only update every 60 seconds. Deletions however should cause the RSS feed to be updated immediately.

      Go into the settings for a forum. Check that RSS feed is set to display some number of posts or discussion greater than 0.

      Post in the forum.

      Access the forum RSS feed via the link under forum administration. Check that your post/discussion appears.

      Delete your post and check that it is removed from the RSS feed.

      Show
      Make sure that blogs and RSS are enabled. They're both under Advanced features. BLOG Go to My profile > blogs and add an entry. Just below the add an entry is a link to the RSS feed. Check that your new post appears in the feed (you can just open the feed in your browser and scan through the XML) Delete the blog post. Reload the RSS feed and check that the post is gone from the feed. FORUM Be aware that if even if you add multiple forum posts or discussions the RSS code will only update every 60 seconds. Deletions however should cause the RSS feed to be updated immediately. Go into the settings for a forum. Check that RSS feed is set to display some number of posts or discussion greater than 0. Post in the forum. Access the forum RSS feed via the link under forum administration. Check that your post/discussion appears. Delete your post and check that it is removed from the RSS feed.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-26170_rss
    • Story Points:
      8
    • Sprint:
      FRONTEND Sprint 6

      Description

      In Moodle 2.0.1+, even after deleting forum/blog post, it continues to show up in the RSS block even after cron is run. Spammers can exploit this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andyjdavis Andrew Davis
              Reporter:
              123iitjee Manish Verma
              Peer reviewer:
              Jason Fowler
              Integrator:
              Marina Glancy
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/13