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

costerhout’s picture

The 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

jitenm’s picture

Your workaround seems to work but naturally this isn't a fix for long term. Has anyone else made any progress?

a_c_m’s picture

Status: Active » Closed (fixed)

this applies to a now old version of this module... closing, please re-open if it still is an issue