Closed (fixed)
Project:
Comment CCK
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2007 at 03:22 UTC
Updated:
22 May 2009 at 04:03 UTC
I installed this module, altered my existing CCK type to allow comments to modify,
commented on several of my nodes and modified vaklues. Three things:
1. 2 of my fields, both node references, were now null.
2. Another field, a matrix, was wiped out of all values
3. When viewing the node, the comment displayed the => symbol but with nothing on either side of it, ie, it wasn't showing old/new values.
Good luck, I am not touching this module since it doesn't seem ready for prime time. How much testing was done?
Comments
Comment #1
Jkello commentedNot a programer just wanted to learn about how it can happen.
So this module deletes any field with CCK node-reference?
Comment #2
dgtlmoon commentedTrying to sort it out now
but it looks like essentially the way 'insert' operation occurs the $node it is dealing with is the wrong structure for the cck node field data to stick
for example i have a field called 'status' , when i look at the $node struct in content_save when i goto node/60/edit i get
But the node structure on this 'insert' statement is completely wrong
If i insert "$node->field_status=array('tids'=>15);" after the node_load in the 'insert' hook it correctly saves the field_status data.
So the problem is that it's not loading the node in the same structure as what it needs when it submits it.
Comment #3
mitchell commentedPlease try testing this on the latest release.
Patches welcomed. :)
Comment #4
mitchell commentedClosing old bug reports.