Hi guys,
So the issue is this:
Entity Reference using views, to pull the NID of the editing node from the URL and use it as a contextual filter.
This is fine for one value, but as soon as the 'Remove' or 'Add an Item' buttons are clicked, all the dropdowns generated by the view are emptied.
This due to the fact that the Request URI seen by the view at this point is '/field_collection/ajax' not 'node/#/edit'
There needs to be an updated views handler for this scenario to return the correct NID to the view.

Cheers!
Chris

Comments

thomasdegraaff’s picture

Also effects me.

jody lynn’s picture

Issue summary: View changes

You can also run into this by uploading a file when editing the node, as that also creates an ajax request.

ladybug_3777’s picture

Thanks for pointing to the other post in views Jody!! This helps me clarify what is going on a little more.

JvE’s picture

Can this be closed as a duplicate of that other issue? That one seems more active and has patches.