It looks like in field_collection_field_widget_embed_validate, #array_parents is used to retrieve values from form_state['values']. I believe this is incorrect; it should be using #parents.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cravecode created an issue. See original summary.

cravecode’s picture

Attaching my proposed fix.

Status: Needs review » Needs work

The last submitted patch, 2: field_collection-2926881-form_state_parents-2.diff, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

cravecode’s picture

Status: Needs work » Needs review
FileSize
1.58 KB

Thank you tests!!!
Updating patch to work with the translated field scenario.