I'm trying to import a node (page) from D5 into D6 into D7 (going from D5 -> D7 results in a fatal error). Importing the page into D6 from D5 seems to work fine, but when I export the page in D6 and import the page in D7 I get the following:

Warning: Invalid argument supplied for foreach() in node_export_file_field_import() (line 1091 of /var/www/html/fosterclub/docroot/sites/all/modules/contrib/node_export/node_export.module).
Warning: Invalid argument supplied for foreach() in node_export_file_field_import() (line 1091 of /var/www/html/fosterclub/docroot/sites/all/modules/contrib/node_export/node_export.module).
Warning: Invalid argument supplied for foreach() in node_export_file_field_import() (line 1091 of /var/www/html/fosterclub/docroot/sites/all/modules/contrib/node_export/node_export.module).

Status message

Imported node 183471:
1 of 1 nodes were imported. Some values may have been reset depending on Node export's configuration.

However the node (183471) is totally blank! No title, body, nothing! Not even the UUID is populated if I view the page in Devel. However the node code I supplied did have all of those fields populated.

My Drupal 6 site is running Node Export 6.x-3.4 and my Drupal 7 site is running Node Export 7.x-3.0. The D5 site is running Node export 5.x-2.5.

Comments

jlea9378’s picture

I was able to get rid of the filefield warnings with this patch:
#2122897: Importing nodes with file field

But I'm still getting blank nodes when I import. If I import a Webform the components come over, but the node title and body are blank.

jlea9378’s picture

Sometimes when I try importing a node from the D6 site I get this error:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'nid' cannot be null: INSERT INTO {tracker_node} (nid, changed, published) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => 1391552548 [:db_insert_placeholder_2] => ) in _tracker_add() (line 264 of /var/www/html/fosterclub/docroot/modules/tracker/tracker.module).

jlea9378’s picture

Status: Active » Closed (works as designed)

I guess this isn't really intended to work.