[wp-trac] Re: [WordPress Trac] #8119: Attempts to edit deleted categories are not properly handled

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 29 23:22:09 GMT 2008


#8119: Attempts to edit deleted categories are not properly handled
----------------------+-----------------------------------------------------
 Reporter:  mrmist    |        Owner:  anonymous
     Type:  defect    |       Status:  reopened 
 Priority:  normal    |    Milestone:  2.8      
Component:  Taxonomy  |      Version:  2.7      
 Severity:  normal    |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by mrmist):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 Seems I'm doing a lot of re-opening tonight, but this isn't fixed.

 If a user is attempting to edit a deleted category, it's still not handled
 well.

 Warning: Attempt to assign property of non-object in
 /home/www/htdocs/svn/trunk/wp-admin/edit-category-form.php on line 24

 Warning: Attempt to assign property of non-object in
 /home/www/htdocs/svn/trunk/wp-admin/edit-category-form.php on line 27

 Warning: Attempt to assign property of non-object in
 /home/www/htdocs/svn/trunk/wp-admin/edit-category-form.php on line 30

 Warning: Attempt to assign property of non-object in
 /home/www/htdocs/svn/trunk/wp-admin/edit-category-form.php on line 33

 Is shown on the blank edit screen, and any subsequent press of Edit
 Category after filling in the blanks fails.

 It just needs to handle concurrent editing / deleting better.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8119#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list