[wp-trac] [WordPress Trac] #5447: wxr importer uses wrong category when duplicate name exists

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 10 10:29:49 GMT 2007


#5447: wxr importer uses wrong category when duplicate name exists
------------------------+---------------------------------------------------
 Reporter:  tellyworth  |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:  2.5      
Component:  General     |     Version:           
 Severity:  normal      |    Keywords:           
------------------------+---------------------------------------------------
 It's legit for two categories to have the same name when they're in
 different parts of a hierarchy:

 {{{
 Foo A
 Foo Parent - Foo A
 }}}

 The importer gets this wrong however.  It inserts both categories with the
 correct names and parents, but posts in the second cat will incorrectly be
 assigned to the first on import.

 The 'Category name clash' post in this import file reproduces the problem.
 It should be in the Foo Parent - Foo A category, not the top level Foo A
 category.

 http://svn.automattic.com/wordpress-tests/wp-
 testdata/export/asdftestblog1.2007-12-10.xml

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


More information about the wp-trac mailing list