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

If I delete a post (in Q and A Forum) with several answers to it, the answers remain in database and are not deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.1.6, 2.2.3
    • Component/s: Forum
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      1. Create a forum.
      2. Create a discussion (post A) as a user.
      3. Post a reply (post B) as another user.
      4. Post another reply (post C).

      As an admin, delete post B. Both B and C should be gone from the database.

      Show
      1. Create a forum. 2. Create a discussion (post A) as a user. 3. Post a reply (post B) as another user. 4. Post another reply (post C). As an admin, delete post B. Both B and C should be gone from the database.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:

      Description

      In a Q and A Forum I have a post (discussion) and an answer to this post and an answer to this post:
      discussion
      -answer 1 < I want to delete this with subposts
      ----answer 2
      I delete answer1 but when I look at the first page of the forum there is the discussion with one answer. In database in table mdl_posts I see the answer 2 is still remaining.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/12