I created a field collection called 'location' when I meant to name it 'locations'

To correct the problem, I added a new field collection field to the node called "locations" no problem.

Then, I deleted the field collection field named "location" from the node, and got a horrible error:

EntityFieldQueryException: Unknown field: field_location in EntityFieldQuery->addFieldCondition() (line 770 of drupal-7/includes/entity.inc).

If we are not allowed to delete the field collection field from the node until the field collection is deleted, please disable the 'delete' link.

Comments

liquidcms’s picture

i have the same issue.

liquidcms’s picture

Version: 7.x-1.0-beta5 » 7.x-1.x-dev
Status: Active » Fixed

i just tried the latest -dev and this is no longer an issue.

it has been almost a yr since beta5; maybe a new release would be a good idea?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.