Closed (fixed)
Project:
References
Version:
7.x-2.x-dev
Component:
Code: user_reference
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
1 Mar 2012 at 16:14 UTC
Updated:
25 Jul 2017 at 17:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
stephenrobinson commentedooops got this a bit wrong
Comment #2
jbeall commentedHi SangersDrupalDude,
I encountered what I think is the issue you're describing, but the only change that was necessary was to add the code you gave for the _user_reference_potential_references_standard function, and I added it in place of $filter_status = array_filter($field['settings']['referenceable_status']); (which was line 864 for me).
Since I did this I haven't noticed a recurrence of the issue I was encountering.
What is the code you posted for user_reference_potential_references intended to address? And where in the user_reference_potential_references function did you place your code?
-Josh
Comment #3
manoloka commentedCan you please provide a proper patch for this?
Thanks
Comment #4
rfayHere's the patch. I don't know whether this affects only upgraded sites or not, but referenceable_status can certainly be a boolean even on a new node.
Comment #5
renatog commentedHi people.
Thank you very much for contribution.
Make sense.
Comment #7
renatog commentedFixed.
Commited in dev branch.
Regards.