I upgraded from Internationalization 7.x 1.11 to 1.12 and then ran some tests. I attempted to create a Danish translation of a node that was in English and had conditional fields defined. During editing, when the new Danish translation was requested, I received a number of error message pairs consisting of:

Notice: Undefined index: #field_parents i conditional_fields_element_after_build() (linje 278 af /home/aidevalu/public_html/sitedev2/sites/all/modules/conditional_fields/conditional_fields.module).
Warning: Invalid argument supplied for foreach() i conditional_fields_flatten_array() (linje 2008 af /home/aidevalu/public_html/sitedev2/sites/all/modules/conditional_fields/conditional_fields.module).

The form displayed below the messages, but the conditional field dependencies were not enforced in the Danish version.

On saving I receive a number of error messages of which the first two were:

Notice: Undefined index: #id i drupal_process_states() (linje 4694 af .../includes/common.inc).
Notice: Undefined index: #language i conditional_fields_dependent_validate() (linje 675 af .../sites/all/modules/conditional_fields/conditional_fields.module).

The last two errors are:

Warning: Invalid argument supplied for foreach() i conditional_fields_evaluate_dependencies() (linje 1004 af .../sites/all/modules/conditional_fields/conditional_fields.module).
Notice: Undefined index: i conditional_fields_evaluate_dependencies() (linje 1025 af .../sites/all/modules/conditional_fields/conditional_fields.module).

The save of the new Danish translation was actually successful and subsequent edits of it and saves do not produce errors. Also, during editing the conditional fields are once again enforced.

I have conditional_fields 7.x 3.0-alpha1 installed and Entity Translation 7.x 1.0-beta3

Does anyone know what this may be about? I am also entering this issue on the Conditional fields list.

Comments

jcory’s picture

jcory’s picture

Issue summary: View changes
jcory’s picture

Issue summary: View changes
nikmoustakas’s picture

Did you find a solution?