Reviewed: https://reviews.mahara.org/2502 Committed: http://gitorious.org/mahara/mahara/commit/151b0d2eac47776d9142633ff73b01fa3950eb7d Submitter: Aaron Wells ([email protected]) Branch: master
commit 151b0d2eac47776d9142633ff73b01fa3950eb7d Author: Robert Lyon <[email protected]> Date: Tue Sep 17 15:02:05 2013 +1200 Errors when deleting forum post bug 1158086 - some cases the check of parent post throws an error I believe this is due to '' being not the same as null Change-Id: Ib2eb287f3e31c02a545b8b42afcbfb9b54ea3abd Signed-off-by: Robert Lyon <[email protected]> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1158086 Title: Forum: error after deleting a post that is the child of another deleted post Status in Mahara ePortfolio: In Progress Bug description: If you delete the child of a deleted post, it deletes successfully but then you're sent to a page that says "Not found. The page you are looking for could not be found. The post with ID '21' is not found or deleted!' It appears that what's happening is that after you delete a post it tries to send you to the URL for that post's parent. If the post's parent is deleted, then you get this error. To replicate: 1. Create a forum topic 2. In that topic, post a reply "A" 3. Then post a reply to A, called "B" 4. Delete A 5. Delete B Expected result: You should delete B, and then see the forum with A & B deleted Actual result: You successfully delete B, but then you see a "Not found" error page. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1158086/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

