Closed (fixed)
Project:
Node import
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2007 at 09:03 UTC
Updated:
12 Aug 2008 at 13:31 UTC
Hi there
I'm importing from CSV and trying to assign values of a CCK nodereference field, however these are being ignored. The dataset is importing with CCK text fields just fine, but not nodereference.
I presume something was mixed up in a recent release. Any ideas? Or is this a feature request?
Comments
Comment #1
costerhout commentedThe furthest I got with this was to temporarily comment out the calls to node_invoke and node_invoke_nodeapi in the function node_submit in modules/node/node.module. The call to node_invoke_nodeapi removes valid values for the node reference id's. I believe the problem lies in the content module, since it is after the call to this module's node_invoke_nodeapi function that the node is made invalid. If I get some more time I'll dig into it further, but now that I have a temporary (hackish) solution I'll probably just import my data and wait for someone more knowledgeable to tackle it.
HTH
Comment #2
jitenm commentedYour workaround seems to work but naturally this isn't a fix for long term. Has anyone else made any progress?
Comment #3
a_c_m commentedthis applies to a now old version of this module... closing, please re-open if it still is an issue