Bug #90768

Flexform nested displayCond

Added by Alexander König 22 days ago. Updated 21 days ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2020-03-16
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.3
Tags:
flexform condition displaycond
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

we've got an issue with nested flexform conditions, this issue is also descriped in this https://forge.typo3.org/issues/82499 bugreport.
We want to use this nested condition:

 <OR>
    <AND>
      <numindex index="0">FIELD:general.settings.flexForm.progMode:=:showEducationList</numindex>
      <numindex index="1">FIELD:settings.flexForm.orgUid:REQ:false</numindex>
    </AND>
    <AND>
      <numindex index="0">FIELD:settings.flexForm.progMode:=:showEducation</numindex>
      <numindex index="1">FIELD:settings.flexForm.eduOrgUid:REQ:false</numindex>
    </AND>
  </OR>

Only the second "AND"-Block is evaluated, since this one will overwrite the first AND-block, when its pared into an array (info from linked bugreport).
Is there an other way to write this condition?


Related issues

Related to TYPO3 Core - Bug #82499: displayCond - Problem with multiple conditions Closed 2017-09-17

History

#1 Updated by Alexander König 22 days ago

  • Subject changed from Flexform nested conditions to Flexform nested displayCond

#2 Updated by Georg Ringer 21 days ago

  • Related to Bug #82499: displayCond - Problem with multiple conditions added

#3 Updated by Georg Ringer 21 days ago

  • Status changed from New to Accepted
  • Target version set to next-patchlevel
  • Tags set to flexform condition displaycond

Also available in: Atom PDF