Moodle
  1. Moodle
  2. MDL-26010

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker 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
    • Rank:
      15964

      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

        Activity

        Stuart R Mealor created issue -
        Hide
        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
        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
        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
        Martin Dougiamas made changes -
        Fix Version/s STABLE Sprint 5 [ 10520 ]
        Fix Version/s STABLE backlog [ 10463 ]
        Andrew Davis made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        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
        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
        Andrew Davis added a comment -

        Sam had a look and gave this his +1

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

        linking to pull request

        Show
        Andrew Davis added a comment - linking to pull request
        Andrew Davis made changes -
        Link This issue will be resolved by PULL-314 [ PULL-314 ]
        Petr Škoda 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 ]
        Eloy Lafuente (stronk7) made changes -
        QA Assignee mudrd8mz
        Hide
        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
        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!
        Eloy Lafuente (stronk7) made changes -
        Status Ready for review [ 10010 ] Closed [ 6 ]
        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: