Needs review
Project:
Field collection
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2014 at 16:50 UTC
Updated:
17 Sep 2018 at 21:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jwjoshuawalker commentedThis 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.
Comment #2
helmo commentedComment #3
dragon658 commentedAlso have this problem.
Comment #4
andyg5000There 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.