Closed (fixed)
Project:
Install Profile API (obsolete)
Version:
6.x-2.x-dev
Component:
CRUD functions and includes
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2009 at 06:13 UTC
Updated:
28 Jul 2009 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
damienmckennaFix attached. This needs to be verified to still work with data exported from node_export v6.x-1.x.
Comment #2
James Andres commentedInstead of adding the
$multipleparameter, how about just counting/checking the$imported_nodesvariable to see if a wrapping array is necessary?I've attached a totally untested proof-of-concept patch.
Comment #3
damienmckennaHere's a patch to match the newly renamed contrib/node_export.inc in CVS. I've tested it and it correctly imported six nodes that were loaded through individual files.
Comment #4
James Andres commentedI have tweaked the patch a bit to better utilize the functions already existing in node_export project. Can you give this a test and see if it works for you?
I also made the node_export "save-edit" hook fire before saving the node, and I made a few cosmetic changes to reflect variables and terminology used in the node_export module.
Comment #5
James Andres commentedThis patch is working well for me, tested on another project I'm working on. Committed.