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

External blog posts not removed from {post} table when the blog is unregistered

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.2.4, 2.3.1, 2.4
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Blog
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      For this test you'll need to be comfortable with SQL. Test across all the supported DB drivers.

      Log in as admin.
      Go to the external blogs screen (my profile settings > blogs > External blogs)
      Add two blogs. Each region covered by the BBC has its own RSS feed if you need some to test with. http://www.bbc.co.uk/news/world/asia/
      Examine the 'blog_external' and the 'post' table. Posts from the 2 blogs will have been imported. The blog_external ID appears in post::content.
      Through the external blog admin page delete one of the external blogs.
      Check that its posts are gone but that the posts from the other blog are still there.

      Show
      For this test you'll need to be comfortable with SQL. Test across all the supported DB drivers. Log in as admin. Go to the external blogs screen (my profile settings > blogs > External blogs) Add two blogs. Each region covered by the BBC has its own RSS feed if you need some to test with. http://www.bbc.co.uk/news/world/asia/ Examine the 'blog_external' and the 'post' table. Posts from the 2 blogs will have been imported. The blog_external ID appears in post::content. Through the external blog admin page delete one of the external blogs. Check that its posts are gone but that the posts from the other blog are still there.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:
      MDL-26504_blog_unregister

      Description

      Because the posts are not removed on the blog un-registartion, they still appear at the user site blog page. They should be removed immediately after the user unregisters the blog.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Sep/12