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

quicksketch’s picture

Status: Active » Fixed

Thanks, 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.

cluster4’s picture

Thank you, it works

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.