[wp-trac] [WordPress Trac] #4776: Three or more categories with the same slug cause DB errors when upgrading

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 19 22:02:51 GMT 2007


#4776: Three or more categories with the same slug cause DB errors when upgrading
---------------------+------------------------------------------------------
 Reporter:  ryan     |       Owner:  ryan            
     Type:  defect   |      Status:  new             
 Priority:  normal   |   Milestone:  2.3 (trunk)     
Component:  General  |     Version:  2.3             
 Severity:  normal   |    Keywords:  upgrade taxonomy
---------------------+------------------------------------------------------
 {{{


     WordPress database error: [Duplicate entry 'screens-2' for key 2]
     INSERT INTO wp_terms (term_id, name, slug, term_group) VALUES ('1010',
 'Screens', 'screens-2', '1')

     WordPress database error: [Duplicate entry 'screens-2' for key 2]
     INSERT INTO wp_terms (term_id, name, slug, term_group) VALUES ('1012',
 'Screens', 'screens-2', '1')

     WordPress database error: [Duplicate entry 'screens-2' for key 2]
     INSERT INTO wp_terms (term_id, name, slug, term_group) VALUES ('1019',
 'Screens', 'screens-2', '1')

     WordPress database error: [Duplicate entry 'general-2' for key 2]
     INSERT INTO wp_terms (term_id, name, slug, term_group) VALUES ('1024',
 'General', 'general-2', '1')

     WordPress database error: [Duplicate entry 'general-2' for key 2]
     INSERT INTO wp_terms (term_id, name, slug, term_group) VALUES ('1025',
 'General', 'general-2', '1')
 }}}

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


More information about the wp-trac mailing list