Issue #2329199 by joachim: Fixed hook_field_attach_validate() is invoked multiple times on the same entity, once for each field.