Issue Bug Closed

#48048Flexforms: displayCond on Sheets not working

Stefan Schäfer 05/08/13, 10:06 updated 05/14/13, 12:00

Description

<displaycond> in flexform on a sheet is no longer working in TYPO3 6.1. <br>The affected sheet is NEVER shown if <displaycond> is set.</displaycond></displaycond>

This flexform worked with TYPO3 6.0.x.

<T3DataStructure>
    <meta>
        <langDisable>1</langDisable>
    </meta>
    <sheets>
        <sDEF>
            <ROOT>
                <TCEforms>
                    <sheetTitle>First sheet</sheetTitle>
                </TCEforms>
                <type>array</type>
                <el>
                    <optionFromFirstSheet>
                        <TCEforms>
                            <label>Option</label>
                            <config>
                                <type>select</type>
                                <items>
                                    <numIndex index="0">
                                        <numIndex index="0">Option1</numIndex>
                                        <numIndex index="1">option1</numIndex>
                                    </numIndex>
                                    <numIndex index="1">
                                        <numIndex index="0">Option2</numIndex>
                                        <numIndex index="1">option2</numIndex>
                                    </numIndex>
                                </items>
                                <default>option1</default>
                            </config>
                        </TCEforms>
                    </optionFromFirstSheet>
                </el>
            </ROOT>
        </sDEF>
        <secondSheet>
            <ROOT>
                <TCEforms>
                    <sheetTitle>Second Sheet</sheetTitle>
                    <displayCond><![CDATA[FIELD:sDEF.optionFromFirstSheet:=:option2]]></displayCond>
                </TCEforms>
                <type>array</type>
                <el>
                    <!-- other fields -->
                </el>
            </ROOT>
        </secondSheet>
    </sheets>
</T3DataStructure>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.