[wp-trac] [WordPress Trac] #11354: WordPress Importer duplicates categories

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 13 08:59:58 UTC 2010


#11354: WordPress Importer duplicates categories
---------------------------+------------------------------------------------
 Reporter:  briancolinger  |       Owner:                                  
     Type:  defect (bug)   |      Status:  new                             
 Priority:  normal         |   Milestone:  Awaiting Triage                 
Component:  Import         |     Version:                                  
 Severity:  normal         |    Keywords:  has-patch needs-unit-tests early
---------------------------+------------------------------------------------

Comment(by mhhenn):

 I am finding other problem regarding this subject. Seems that the parent-
 cat-slug is not transferred, it just look for parent-name. So if I have 3
 main categories called "room1, room2 and room3" and each has a child-
 category with the same name but different slugs like "teacher1" and if
 every "teacher1" has a category-child with same name but different slug
 called "student1" when transferring the categories "student1" they are
 going to be located what seems to be randomly regardless the different
 slugs and not one "student" category for each "teacher1".

 example:

 room1
 -teacher1(slug:room1-teacher1) -> student1 (slug:room1-teacher1-student1)

 room2
 -teacher1(slug:room2-teacher1) -> student1 (slug:room2-teacher1-student1)

 room3
 -teacher1(slug:room3-teacher1) -> student1 (slug:room3-teacher1-student1)

 after importing the categories:

 room1
 -teacher1(slug:room1-teacher1) -> student1 (slug:room1-teacher1-student1)
 -teacher1(slug:room2-teacher1) -> student1 (slug:room2-teacher1-student1)
 -teacher1(slug:room3-teacher1) -> student1 (slug:room3-teacher1-student1)

 room2
 Empty -> Empty

 room3
 Empty -> Empty

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11354#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list