Problem
I have a node page with a field collection "item".
My field collection got a title, body and image field
When I set field translation on my field collection I get a new field collection entity for every language i got.
This part works fine but the image field gives some notices
Notice: Undefined index: field in field_widget_field() (regel 578 van coke/modules/field/field.form.inc).
Notice: Undefined index: field in field_widget_field() (regel 578 van coke/modules/field/field.form.inc).
Notice: Undefined index: instance in field_widget_instance() (regel 606 van coke/modules/field/field.form.inc).
Notice: Undefined index: instance in field_widget_instance() (regel 606 van coke/modules/field/field.form.inc).
I only get these notices if i translate the node
There is no difference if there is an image in the image field or if its empty.
Once the node is translated and i edit it there is no problem anymore.
Comments
Comment #1
jmuzz CreditAttribution: jmuzz commentedField translation is not supported by Field Collection yet, but there is a patch in the works for it. Please try the latest version of the patch and post a reply there if the issue remains.
#1344672: Field Collection: Field translation (entity_translation) support.
Your messages look like the ones that were reported in #164 in that thread. I wasn't able to reproduce that, but I don't think I tried it by making the field collections translatable, so if it can be reproduced that way then somebody might be able to track it down.