I get the blank screen when I try to save the node which has a target text field set to "Required" when the check-box as a control field is checked. I get this problem as soon as I add this type of condition to the content type and try to save the node. It doesn't matter whether the control field is checked or not. If I remove the condition everything goes back to normal. Other type of conditions (e.g. hiding the target text field when the control field is checked) on the same content type functions normally.
Drupal core version - 8.3.4

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gintass created an issue. See original summary.

cslevy’s picture

Here is my patch which fixes the issue.

cslevy’s picture

Status: Active » Needs review
Vitalyos’s picture

Status: Needs review » Needs work
Issue tags: +Moldcamp2017
FileSize
70.96 KB

hi, doesn't work for me.

whenewer checkbox is checked or not, target field is always required.
error

geek-merlin’s picture

Status: Needs work » Needs review
FileSize
1.6 KB

I'd say #4 shows the WS is resolved, so the patch fixes the issue but maybe leaves followup issues.

Patch needs reroll.

Rerolled patch flying in.

geek-merlin’s picture

Version: 8.x-1.0-alpha2 » 8.x-1.x-dev

Tested the patch on a separat box and it fixes the WS. I can not reproduce #4, i get a validation message exactly when it should.

geek-merlin’s picture

  • axel.rutz committed 848a1db on 8.x-1.x
    Issue #2892832 by cslevy, Vitalyos, axel.rutz: Blank screen when saving...
geek-merlin’s picture

Status: Needs review » Fixed

Tested and used in production, so committing.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.