Bug #67879
closedUsing displaycond on switchable controller actions in Flexform with TYPO3 7.3 not possible
100%
Description
Hi,
in the past it was possible to use displayCond in Flexform together with switchableControllerActions, but this seems to be broken in TYPO3 7.3
Example FlexForm XML:
<T3DataStructure> <meta> <langDisable>1</langDisable> </meta> <sheets> <sheet1> <ROOT> <TCEforms> <sheetTitle>sheet 1</sheetTitle> </TCEforms> <type>array</type> <el> <switchableControllerActions> <TCEforms> <label>select view</label> <onChange>reload</onChange> <config> <type>select</type> <items type="array"> <numIndex index="0" type="array"> <numIndex index="0">foo</numIndex> <numIndex index="1"></numIndex> </numIndex> <numIndex index="1" type="array"> <numIndex index="0">bar</numIndex> <numIndex index="1">ControllerName->actionname;</numIndex> </numIndex> </items> <maxitems>1</maxitems> <size>1</size> </config> </TCEforms> </switchableControllerActions> </el> </ROOT> </sheet1> <sheet2> <ROOT> <TCEforms> <sheetTitle>sheet 2</sheetTitle> <displayCond><![CDATA[FIELD:sheet1.switchableControllerActions:=:ControllerName->actionname;]]></displayCond> </TCEforms> <type>array</type> <el> <settings.foo> <TCEforms> <label>foo</label> <config> <type>input</type> </config> </TCEforms> </settings.foo> </el> </ROOT> </sheet2> </sheets> </T3DataStructure>
Sheet 2 should only be shown if Controllername->action; is set. But this seem not to work any more.
If I'm wrong, can you please tell me how to get this issue solved?
Alex
Updated by Markus Klein over 9 years ago
- Category set to FormEngine aka TCEforms
- Status changed from New to Accepted
- Assignee set to Christian Kuhn
- Priority changed from Should have to Must have
- Target version set to 7.4 (Backend)
- Is Regression changed from No to Yes
- Sprint Focus set to Stabilization Sprint
Reported in Slack already today for femanager.
Updated by Christian Kuhn over 9 years ago
ext:styleguide flex_5 shows the broken behavior now.
Updated by Andreas Wolf over 9 years ago
- Assignee changed from Christian Kuhn to Andreas Wolf
I’m on it. This broke somewhere between 7.2.0 and now.
This does not seem to have a relation to #68517; at least that is reported for 6.2 only. It seems to work on master.
Updated by Gerrit Code Review over 9 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42071
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42071
Updated by Andreas Wolf over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset da9083774aa5beb957141113a0209f0864c002fe.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed