I already gone through #1281974: Missing bundle property on entity - related to translations and applied the patch.
This error is raised when trying to save the field collection item from computed field which is on hostentity.
I Followed this steps to reproduce the error
1.create a simple content type with fields
---------------title
---------------body
---------------field collection(field_fc_test) - multi value
---------------computed field(field_cf_calc)
2.Field collection item(fc_test)
----------------Name-textfield-Manual entry
----------------Age--textfield(field_age)-will be set through cf_calc
$wrapper = entity_metadata_wrapper($entity_type, $entity);
$fc_wrapper = entity_metadata_wrapper('field_collection_item',$wrapper->field_fc_test);
foreach ($fc_wrapper->getIterator() as $delta => $ref_wrapper) {
$ref_wrapper->field_age->set("24");
}
$fc_wrapper->save();
$entity_field[0]['value'] = "";Actual custom content types and field structure are more complex than above setting.I just wanted to check with minimal structure to debug the issue easily.
module's version
drupal v 7.22
entity api v 7.x-1.1
field collection v 7.x-1.0-beta5+1-dev(applied https://drupal.org/node/1281974#comment-6897034 patch)
computed field v 7.x-1.0-beta1+2-dev
Comments
Comment #1
ibevamp commentedI am having the same issue. I applied the patch you suggest as well, but no luck.
Comment #2
helmo commented