I'm intermittently receiving the following error on field_collection_items within nodes. I found a similar issue, with a different line number given, and one of the fixes got rid of the error, but didn't actually fix functionality.

Full error returned by Drupal:
EntityMalformedException: Missing bundle property on entity of type field_collection_item. in entity_extract_ids() (line 7562 of /[path to drupal]/includes/common.inc).

I spent about 3 hours messing with it and uploading a fresh version of the module ended up fixing it. Today the exact same error returned, but a fresh install of the module didn't fix the problem. Has anyone else been having this issue or can possibly help me out? Drupal version is 7.15.

Comments

unholyknight’s picture

Looks like it was only happening on one node. Not exactly sure why, but deleting it and recreating it fixed the issues.

monsoon’s picture

I have same issue. This error is found on many lines.
EntityMalformedException: Missing bundle property on entity of type field_collection_item. in entity_extract_ids() (line 7562 of /home/wbusle/public_html/includes/common.inc).

jweowu’s picture

For me, this appears to have been a bug/conflict with the entityconnect module.

With both entityconnect and field_collection on the latest dev releases, the issue has gone away.

sinini’s picture

i solved the error by updating EVA to Version 7.x-1.2...

bleen’s picture

Priority: Normal » Major

We are seeing this issue only after updating from 7.x-1.0-beta4 to beta5 ... we do not have EVA, nor entityconnect installed we are using entity_reference and entityreference_live_preview though fwiw.

reverting to beta 4 is our current workaround

note: changing the priority based on http://drupal.org/node/45111

bleen’s picture

liquidcms’s picture

i get this error when trying to update a collection from directly within a node view (i.e. edit just the collection; not full node edit)

i originally was getting this error when i was on beta4-dev (from June):

DatabaseTransactionNoActiveException: in DatabaseConnection->rollback() (line 1019 of E:\wamp\www\boma\includes\database\database.inc).

but then updated to beta5 and i now get error reported here.

i tried patch linked in #6 above and that does not fix.

also of interest, the collection i am trying to update has nested collections, another collection within that same node does not and it updates fine.

damienmckenna’s picture

A related issue that was closed as the problem could not be reliably reproduced: #1281974: Missing bundle property on entity - related to translations

FYI we (Mediacurrent) are also seeing this on a site (originally built by someone else) that has nested collections, but we're seeing it on the node-add form rather than editing existing content.

jmuzz’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

I believe the other ticket is the same issue and there is much more information there. #1281974: Missing bundle property on entity - related to translations