Closed (fixed)
Project:
Taxonomy import/export via XML
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2007 at 00:58 UTC
Updated:
10 Apr 2008 at 10:42 UTC
Comments
Comment #1
nicolash commentedHi Jacob,
I know it looks like the IDs are predetermined, but they aren't really. I move vocabs between different Drupal installations all the time and tid/vids would definitely overlap and cause conflicts. However, if a term gets saved and its tid is already taken, it will receive a new tid and save successfully.
Please try to save your data in exactly the same format (make sure there are no line breaks) and simply generate random tids (although parent-child relationships obviously need to make sense). If that doesn't work for you, please attach a reasonably small example file and I will see what I can do.
Alternatively, you might want to make improvements yourself and submit a patch.
Cheers
Nic
Comment #2
nicolash commented