The function entity_translation_entity_form_language_update() is an #element_validate callback and should have the following arguments: $element, &$form_state, $form not as it is currently defined.

I'm not sure how this change affects everybody, but it fixed the issues with my custom entities.

CommentFileSizeAuthor
#1 entity_translation-fix_element_validation_callback-2396653-1-D7.patch726 bytesAnonymous (not verified)

Comments

Anonymous’s picture

plach’s picture

Status: Active » Needs review
plach’s picture

Status: Needs review » Fixed

Committed and pushed, thanks.

  • SchnWalter authored f4df004 on 7.x-1.x
    Issue #2396653 by SchnWalter: Fix validation handler for the entity...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.