Trying to import terms does not work for me at all. Even using the testdata "node_data_keyless.xml", no new terms get created. The vocabulary is created fine, but the terms will not appear when using the "list terms" link for a vocabulary. In the database, the terms are successfully added to "term_data" and "term_hierarchy", but they do not appear on the list! I'm not sure why that happens.
Also, when importing Content Fields and Content Types from a CCK XML export (using the I/E API), the custom content type will not appear in the "Create Content" menu. It remains to be invisible until I attempt to create the content type again, at which time it (and all its fields) magically reappear.
It seems that importing into the database works alright, but there must be some kind of initialization step that is not taking place.
Thanks,
Thom.
Comments
Comment #1
Jaza commentedDuplicate of http://drupal.org/node/81842 (regarding taxonomy term import problems)
Regarding your CCK import problems, CCK caches all fields and content types, and importexportapi does not clear this cache when importing. You can clear your site's cache by running the query 'TRUNCATE TABLE cache', or by installing the devel module (which provides a 'clear cache' link in a side block). Once your cache is cleared, your imported CCK data should appear in admin listings. Also note that importexportapi will not trigger the regeneration of CCK-generated database tables - but you should be able to trigger this manually, by editing and saving your content types and fields.