If there is a dependee which is itself a dependent and its dependee changes the state of this dependee, the dependency related this dependee is not triggered. (Sorry, maybe someone could rephrase this better.)

You can easily reproduce the problem in the following way:
Create three fields e.g. like these:

  • field_alpha (single on/off checkbox);
  • field_beta (single on/off checkbox);
  • field_gamma (whatever).

Configure the dependencies this way:

Dependent Dependees Description
field_beta field_alpha field_beta is checked when field_alpha is checked.
field_gamma field_beta field_gamma is visible when field_beta is checked.

The expected behavior here is that when field_alpha is checked, field_beta also turn checked (this works well). And because now field_beta is checked, field_gamma should be visible. But it doesn't happen, field_gamma still remains invisible.

I also tested this behavior with different field conditions and form states, the effect was the same.

Comments

dqd’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Thanks for the report and all the efforts in here. But due to inactivity in this issue for some years and because of the upcoming EOL of Drupal 7, I will close this issue on the way cleaning up the issue queue.

Feel free to re-open as "Needs review" if you found a solution or have a patch to be reported to help others.