Closed (fixed)
Project:
Node Reference URL Widget
Version:
7.x-1.8
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2011 at 13:09 UTC
Updated:
10 May 2011 at 08:51 UTC
This happens only if the referenced node id is greater or equal to 10.
The feature "Use fallback behavior when editing content" is not working and messes up your references.
When you edit the node and the references node id is >10, it won't save the reference after clicking "save". This happens with both the autocomplete and select list fallback widgets.
Comments
Comment #1
quicksketchThanks, this indeed was a very strange error. The Node Reference module puts all of its values inside of a "nid" parent. When Node Reference URL Widget was used, we just returned the NID directly. Then when Node Reference module tried to return the value, it parsed our NID integer as an array and returned the "nid" key, but since there wasn't an "nid" key, it just returned the first character of the NID instead. Very strange, but that's what you get with a loosely typed language like PHP.
Thanks for the report, I've fixed it with this patch.
Comment #2
cluster4 commentedThank you, it works