I have a content type that has two entity reference fields that use a view to display available options..

It seems that 90% of the time its working fine but sometimes (and I haven't been able to determine the circumstance to be able to reliably repeat it) it looses the value in both fields.. Looking at the log I see "Illegal choice 30 in element." listed twice..

"Illegal choice 30" doesn't really help much to point to what is going on..

Can someone tell me what "Illegal choice 30" means?

And even better how I can stop it removing the values in the entity reference fields when updating a node?

Thanks..

Comments

wipeout_dude created an issue. See original summary.

wipeout_dude’s picture

Looks like its not limited to "Illegal choice 30..." because I just found "Illegal choice 3502..." in the log as well..

wipeout_dude’s picture

I think I have narrowed down the circumstance that causes the problem, it seems to be related to the the file field on the content type..

Looks like it's related to ajax as its the same situation as https://www.drupal.org/node/2358049

MustangGB’s picture

Status: Active » Closed (won't fix)

This seems like a views ajax error rather than an entity reference issue.