We are using the Wetkit distro (version 1.9) and have installed Conditional Fields. I recently updated to the most recent dev version (7.x-3.0-alpha1+15-dev) and applied a patch (https://www.drupal.org/node/1464950#comment-9874453). Now, every time I create a new node that uses conditional fields dependencies, I see 2 notices:
Notice: Undefined property: stdClass::$field_alternate_title_for_slide in locale_field_entity_form_submit() (line 443 of /path/to/site/modules/locale/locale.module).
Notice: Undefined property: stdClass::$field_slide_show_image in locale_field_entity_form_submit() (line 443 of /path/to/site/modules/locale/locale.module).
If I remove the conditional fields dependencies, the notices no longer appear. Is anyone else experiencing this issue?
Comments
Comment #1
drupal.pupil CreditAttribution: drupal.pupil commentedI just set up a fresh 7.37 core installation, with Conditional Fields [conditional_fields-7.x-3.x-dev.tar.gz + conditional_fields_fixed_multiple_field_collection_fields_1464950-63_0 (1).patch], Entity [entity-7.x-1.6.tar.gz], Entity Translation [entity_translation-7.x-1.0-beta3.tar.gz], i18n [i18n-7.x-1.12.tar.gz] and Variable [variable-7.x-2.5.tar.gz] installed and enabled.
How to generate the messages:
Comment #2
robin.ingelbrecht CreditAttribution: robin.ingelbrecht commentedGot same issue, following
Comment #3
joel_osc CreditAttribution: joel_osc commentedI have this issue as well... I think it has to do with conditional fields removing the fields from the submitted values and locale assuming that the form_state values is a complete version of the entity. I have what I would call a "workaround" that is fairly simplistic in that it just checks to make sure the field value is there before assigning it in line 443 of the locale module. This issue could potentially be moved to that modules queue, but I would like the conditional fields maintainer's thoughts first to see if this is the correct approach given that locale is part of core.
Here is my workaround on line 441:
Any and all community input is welcome!