[wp-trac] [WordPress Trac] #7264: Ajax Deleting an object that's already been deleted should silently succeed

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 9 01:50:21 GMT 2008


#7264: Ajax Deleting an object that's already been deleted should silently succeed
----------------------+-----------------------------------------------------
 Reporter:  mdawaffe  |       Owner:  anonymous    
     Type:  defect    |      Status:  new          
 Priority:  normal    |   Milestone:  2.6          
Component:  General   |     Version:               
 Severity:  normal    |    Keywords:  needs-testing
----------------------+-----------------------------------------------------
 When AJAX deleting a comment, say, that has just been deleted by another
 user, WP throws the comment back at you in red and says "An unidentified
 error has occurred".

 Almost all the time when that error happens, it's because the comment
 you're trying to delete is already gone... so it's not really error
 worthy.

 Attached checks to see if to-be-deleted objects are already gone and
 silently ajax returns "success" when deleted.

 Also checks to see if the current comment status is the same as the
 requested comment status and silently succeeds there as well.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7264>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list