Project

General

Profile

Actions

Bug #48048

closed

Flexforms: displayCond on Sheets not working

Added by Stefan Schäfer over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-05-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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

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>


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #47886: displayCond in flexforms brokenClosedStefan Galinski2013-05-03

Actions
Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback

May this be related to #47886 ? Can you try that patch?

Actions #2

Updated by Stefan Schäfer over 11 years ago

Seems like I missed that ticket, the patch resolved the issue. Thank you.

Actions #3

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Closed

Closed as duplicate.

Actions

Also available in: Atom PDF