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

Records in the table {post} can be easily deleted just by registering an external blog

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Blog
    • Labels:
    • Environment:
      Ubuntu, MySQL, not browser specific
    • Database:
      MySQL
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      We have a number of people Blogging on a site.
      When someone adds an external Blog feed, next day (after Cron) any entries made on the site (rather than imported from the external site) are deleted!
      I've seen this 'disappearing Blog entries' happen twice now, and on both occasions it was just after someone added an external Blog feed.
      I've suggesting setting the Priority of this bug to a Blocker - because if sites are using Blogs as an assessment tool (e.g. a reflective diary) this loss of data could have a major impact.
      I'm happy to give developers Admin access to the site affected, or phpMyAdmin access to the database.
      Stu

        Gliffy Diagrams

          Activity

          stuartrmealor Stuart R Mealor created issue -
          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          Sending to stable backlog and assigning to Andrew, as far as he was working on related issues recently.

          Please prioritize this high as far as it causes data loss, surely we are deleting "too much" when handling external blog entries.

          Thanks for the report, Suart, ciao

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - Sending to stable backlog and assigning to Andrew, as far as he was working on related issues recently. Please prioritize this high as far as it causes data loss, surely we are deleting "too much" when handling external blog entries. Thanks for the report, Suart, ciao
          stronk7 Eloy Lafuente (stronk7) made changes -
          Field Original Value New Value
          Labels Blog triaged
          Assignee moodle.com [ moodle.com ] Andrew Davis [ andyjdavis ]
          Fix Version/s STABLE backlog [ 10463 ]
          Difficulty Moderate
          dougiamas Martin Dougiamas made changes -
          Fix Version/s STABLE Sprint 5 [ 10520 ]
          Fix Version/s STABLE backlog [ 10463 ]
          andyjdavis Andrew Davis made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          andyjdavis Andrew Davis added a comment - - edited

          Wow thats bad. I have a change I believe fixes this. The external blog post synchronization code was being really over zealous.

          repo: git://github.com/andyjdavis/moodle.git
          branch: MDL-26010_blog_entries
          diff: https://github.com/andyjdavis/moodle/compare/master...MDL-26010_blog_entries

          Show
          andyjdavis Andrew Davis added a comment - - edited Wow thats bad. I have a change I believe fixes this. The external blog post synchronization code was being really over zealous. repo: git://github.com/andyjdavis/moodle.git branch: MDL-26010 _blog_entries diff: https://github.com/andyjdavis/moodle/compare/master...MDL-26010_blog_entries
          Hide
          andyjdavis Andrew Davis added a comment -

          Sam had a look and gave this his +1

          Show
          andyjdavis Andrew Davis added a comment - Sam had a look and gave this his +1
          andyjdavis Andrew Davis made changes -
          Status In Progress [ 3 ] Ready for review [ 10010 ]
          Resolution Fixed [ 1 ]
          Hide
          andyjdavis Andrew Davis added a comment -

          linking to pull request

          Show
          andyjdavis Andrew Davis added a comment - linking to pull request
          andyjdavis Andrew Davis made changes -
          Link This issue will be resolved by PULL-314 [ PULL-314 ]
          skodak Petr Skoda made changes -
          Summary Blog entries created on a site are deleted when external Blogs are enabled Records in the table {post} can be easily deleted just by registering an external blog
          Fix Version/s 2.0.2 [ 10421 ]
          Fix Version/s STABLE Sprint 5 [ 10520 ]
          stronk7 Eloy Lafuente (stronk7) made changes -
          QA Assignee mudrd8mz
          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          This has been integrated and is now available both via git and cvs (and in some hours, via mirrors and downloads).

          Thanks!

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - This has been integrated and is now available both via git and cvs (and in some hours, via mirrors and downloads). Thanks!
          stronk7 Eloy Lafuente (stronk7) made changes -
          Status Ready for review [ 10010 ] Closed [ 6 ]
          dougiamas Martin Dougiamas made changes -
          Workflow MDL Workflow [ 66882 ] MDL Full Workflow [ 95949 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                21/Feb/11