[wp-trac] [WordPress Trac] #8019: WXR import incorrectly handles comment ID's, Results in threading being lost

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 31 05:12:19 GMT 2008


#8019: WXR import incorrectly handles comment ID's, Results in threading being
lost
--------------------+-------------------------------------------------------
 Reporter:  DD32    |       Owner:             
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  2.7        
Component:  Import  |     Version:  2.7        
 Severity:  major   |    Keywords:  needs-patch
--------------------+-------------------------------------------------------
 The Export'd WXR files & Import process contains the original Comment ID,
 and Comment Parent ID allready. However, Upon import, the Comment ID's are
 re-assigned, however the parent ID's are not.

 The result is that the comment threading is lost entirely.

 Eg: Previously comment 1234 was in reply to comment 1222, however, comment
 1222 is now comment 22, but comment 1234 still has '1222' as its
 parent_id.

 2 options are possible:
  * Remapping the comment parent ID's
  * Preserving the comment ID's

 The only issue i see with preserving the comment ID's is that importing
 into another blog with comments allready could cause conflicts, which
 would require remapping of some comment ID's regardless.

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


More information about the wp-trac mailing list