Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have non-translatable fields with a conditional relationship in a content type that uses field translation. As a result both fields are hidden on the translation page, causing a white screen in conditional_fields_form_after_build
, trying to call the function 3()
(from CONDITIONAL_FIELDS_FIELD_EDIT_RESET_UNTRIGGERED
).
I'll post a patch shortly that skips doing anything to the form if the dependent field is not accessible.
Comment | File | Size | Author |
---|---|---|---|
#1 | conditional-fields-wsod-hidden-fields-2414731-1.patch | 793 bytes | jacktonkin |
Comments
Comment #1
jacktonkin CreditAttribution: jacktonkin commentedSee attached patch: there is no point setting state javascript if the dependent field is not accessible anyway.