Closed (won't fix)
Project:
Import / Export API
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2007 at 01:33 UTC
Updated:
12 Oct 2009 at 14:34 UTC
Jump to comment: Most recent
Comments
Comment #1
redmonp commentedFrom what I remember, there is a table which is updated with the most recent versions of NID and VID. The I/E UI, the script retrieved the relavent NID and VID and incrememented them before acting.
In my own efforts, I found that if you tried import duplicate NID and VIDs, it wouldn't work. Similarly, some content data types require different data definitions, which also affect what needs to be calculated before data is imported. This was handled automatically for the Drupal default content types, and some CCK types, but not all.
So the short answer is that if you are importing data and the content type is supported, just leave the NID blank, and it will be auto-incrememented when it is imported, if it's a supported content type. If not, build your own translation.
Comment #2
Anonymous (not verified) commentedVersion 4.x is now unsupported.