Ticket #5447 (new defect)

Opened 1 year ago

Last modified 4 weeks ago

wxr importer uses wrong category when duplicate name exists

Reported by: tellyworth Assigned to:
Priority: normal Milestone: 2.9
Component: Import Version:
Severity: normal Keywords:
Cc:

Description

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

Change History

12/10/07 10:32:02 changed by tellyworth

The exporter is part of the problem here - it lists post categories by name rather than by a unique identifier.

10/28/08 00:29:39 changed by thee17

  • owner deleted.
  • component changed from General to Import.