I think this is a bug of Entity Reference Prepopulate (it seems not of Prepopulate Create Node link module).

I've tree content types companies/agencies/public_relations that to each one are related a number of employees and
content type "employees" where i've tree field_entityreference_url (one for each of above content type).

Note that i have create in employees content type, in order:
[companies] field_entityreference_url
[agencies] field_entityreference_url
[public_relations] field_entityreference_url

Now it happens that when i add an employee to "company" (via url) all run well, but when i try to add one in "agencies" or "public_relations" i have a message "Field Companies must be populated via URL" and the process stop.

It seems that [companies] field_entityreference_url has taken the priority and/or code assumes that each of the tree field must be filled.

This did not happen with Node Reference Url Widget

Someone can help me?
Thanks a lot

Comments

SHEvents’s picture

I think I'm having the same problem.

I've got two entity reference fields on the same content type, one of which (Select Establishment) I wish to prepopulate via the url and is hidden, while the other requires the user to make a selection.

I've tried changing the order of the two fields, so that which is to be repopulated via the url now comes first, but that makes no difference. I still get the message: "Field Select Establishment must be populated via URL."

Did you manage to resolve your problem and, if so, how?

Otherwise, if there's anybody out there who can help, please....