[wp-trac] [WordPress Trac] #3072: Autosave breaks when there are no categories selected

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 27 17:58:44 GMT 2006


#3072: Autosave breaks when there are no categories selected
----------------------------+-----------------------------------------------
 Reporter:  matt            |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:           
Component:  Administration  |     Version:           
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 Steps to recreate:

  * Start a post
  * Uncheck any category boxes
  * Wait until autosave kicks in

 This is the error message I saw:

 WordPress database error: [You have an error in your SQL syntax; check the
 manual that corresponds to your MySQL server version for the right syntax
 to use near ')' at line 2]
 INSERT INTO wp_post2cat (post_id, category_id) VALUES (55, )

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


More information about the wp-trac mailing list