Needs work
Project:
Restricted content
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2009 at 12:40 UTC
Updated:
22 Apr 2009 at 14:19 UTC
Jump to comment: Most recent file
Comments
Comment #1
catchWhat a pain, but got it working.
Two main issues - node_import doesn't appear to support #tree => TRUE (or I can't work out the desired syntax).
$form['state']['values']['nid'] is empty when submitting the form via node_import, so had to do select max(nid) + 1 to fake it.
Here's the patch I'm using - both are really issues with node_import and the fixes aren't nice, so don't expect it to be committed, but fyi.
Comment #2
catchAnd the .inc which works with the above patch.