I applied the patch from #1281974: Missing bundle property on entity - related to translations
But I was still getting the error when I tried to delete an entity with the field collection inside.
I tested and found that if I had a field_collection within a field_collection then the missing entity_id error would occur.

Comments

jwjoshuawalker’s picture

This happens to me, but only when using field_collection_table module, and setting "Widget" to Table, then trying to edit the field in field_ui.

helmo’s picture

Issue summary: View changes
dragon658’s picture

Also have this problem.

andyg5000’s picture

Title: Field collection within a field collection: Missing bundle property on entity of type message. in entity_extract_ids » Missing bundle property on entity of type message. in entity_extract_ids
Status: Active » Needs review
StatusFileSize
new1.03 KB

There are a ton of issues related to this error, so I'm picking one and providing a patch that fixes the issue for me.

I believe this is related to non-revisionable entities and calls to `entity_revision_load` which returns null in this case.

I added a call to `entity_load_single` whenever the `entity_revision_load` fails. I also add a check to make sure the entity is loaded. If not, the Field Collection exception is called.