Results 1 to 2 of 2

Thread: Serious bug @ bbPress?

  1. #1
    gautam's Avatar
    gautam is offline Hello World
    Join Date
    Oct 2009
    Location
    Gurgaon, Delhi, India
    Posts
    12

    Icon4 Serious bug @ bbPress?

    I was just browsing through the tickets on the bbPress trac and found this 9 months old ticket - http://trac.bbpress.org/ticket/1150 which seems critical to me.

    Steps to reproduce:

    1. Create a new topic, post another post in it. And delete the post you just posted (i.e. the second reply in the topic).
    2. Create another topic, now delete the post that is shown, it would get deleted via ajax. This actually deletes the whole topic at the back-end, but it not shown on the front-end. Now also click the delete entire topic at the bottom of the topic. This would actually undelete the whole topic and ALL the other undeleted posts, even from other topics.

    There are 2 simple methods to solve this:

    1. Redirect the topic after only the one left post in the topic is deleted.
    2. Add a new_action parameter (0 for undeleted and 1 for deleted), and then verify that with the old status in bb-admin/delete-topic.php.

    But that won't fix the root cause, so we would need to dig deeper into bb_delete_topic and BB_QUERY to find out what's happening and why posts from other topics get undeleted.

    I mailed about this to Matt and mdawaffe yesterday, but they didn't reply so I though it might get attention by posting about it here .

  2. #2
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,359

    Default

    Have you tried leaving a comment about that in bbPress Trac? Looks like you did. Maybe someone will help you out and reply like filosofo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •