[wp-trac] [WordPress Trac] #7668: xml import stopped by a post containing empty tag

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 1 15:17:38 GMT 2008


#7668: xml import stopped by a post containing empty tag
----------------------+-----------------------------------------------------
 Reporter:  michelwp  |       Owner:  anonymous            
     Type:  defect    |      Status:  new                  
 Priority:  normal    |   Milestone:  2.8                  
Component:  General   |     Version:  2.6.1                
 Severity:  normal    |    Keywords:  xml import export tag
----------------------+-----------------------------------------------------
 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..

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


More information about the wp-trac mailing list