Make WordPress Core

Opened 10 years ago

Closed 7 years ago

Last modified 7 years ago

#7668 closed defect (bug) (worksforme)

xml import stopped by a post containing empty tag

Reported by: michelwp Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.6.1
Component: Import Keywords:
Focuses: Cc:


As described in the forum : http://wordpress.org/support/topic/200696, the xml export is able to export post with tags but empty tags... the bad side effects of that during import in a another wp site : the import stop when the post contain :

<category domain="tag"><![CDATA[]]></category>
<category domain="tag" nicename="53"><![CDATA[]]></category>

the today workaround is : verify and clean tags through admin just before exporting posts...

the future solution ? : avoid creating empty tag (without term) - the slug was by default the ID of tag

avoid during export creating xml "tag" if the name of tag is empty

avoid during import stopping without verbose messages....

Hope solution will be possible for future release..

Change History (6)

#1 @ryan
9 years ago

  • Component changed from General to Import
  • Owner anonymous deleted

#2 @Denis-de-Bernardy
9 years ago

  • Keywords needs-patch added; xml import export tag removed
  • Milestone changed from 2.8 to Future Release

#3 @Denis-de-Bernardy
9 years ago

  • Milestone changed from Future Release to 2.9

#4 @janeforshort
8 years ago

  • Milestone changed from 2.9 to Future Release

Punting for lack of tested patch.

#5 @solarissmoke
7 years ago

  • Keywords needs-patch removed
  • Resolution set to worksforme
  • Status changed from new to closed

Just tested and the import seems to work now. Also, you are no longer able to create a tag without giving it a name, so this situation will not occur again when exporting.

#6 @dd32
7 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.