Closed (won't fix)
Project:
Entity Reference View Widget
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2012 at 23:41 UTC
Updated:
17 Jan 2014 at 13:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tseven commentedComment #2
stockliasteroid commentedI'm not using field group, but I am using this module to set a reference on a profile2 entity and I saw the same error. Installing this patch took care of it, thanks a lot!
Comment #3
stella commentedI have a similar problem but I'm not using the field_group module, but I am using the field_collection module. If I edit an entity reference field (using the entityreference_view_widget) which is inside a field_collection directly at the field collection url (e.g. /field-collection/field-collection-field-name/XXX/edit) then it works fine. However, if I try to edit it within the node form, then I get the above errors. In addition, the views pager doesn't work and the add and remove checkbox ajax functionality doesn't work.
The attached patch should address all of the above issues. It should work for both field collections and field groups, though admittedly I haven't tested it with field groups. In addition, it should handle with more complex setups - for example, in one instance I have an entityreference_view_widget inside a field collection which is inside yet another a multi-value field collection.
Comment #4
chrlvclaudiu commentedhas anyone tested the above patch ?
i see lots of warnings after applying it.
thanks.
Comment #5
bojanz commentedThis is too big of a change for the 1.x branch which is now frozen.
Please test the 2.x branch and submit a new patch if the problem still exists there.