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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jacktonkin’s picture

Assigned: jacktonkin » Unassigned
Status: Active » Needs review
FileSize
793 bytes

See attached patch: there is no point setting state javascript if the dependent field is not accessible anyway.