Closed (fixed)
Project:
Leech
Version:
5.x-1.x-dev
Component:
leech
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Feb 2007 at 02:16 UTC
Updated:
26 Feb 2007 at 19:12 UTC
The node object doesn't have the same structure as form values on a node submit, so the node_submit being called in the leech_refresh() function can cause some data in the leech node to get saved incorrectly.
An example is the user reference fields. The node object has this structure: field_reference[0]['uid']; while submitted form values has a structure: field_reference['uids']
Is it necessary to call node_submit? Why not just call leech_submit()?
Comments
Comment #1
aron novakThanks for reporting this, likely other modules, not only CCK was affected. The fix is at the latest CVS rev., the next daily -dev package will contain the fix.
Comment #2
aron novak