Project

General

Profile

Actions

Bug #82637

closed

Display conditions in plugin flexform are not working

Added by Kai Strecker over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-10-02
Due date:
% Done:

0%

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

Description

We upgraded an TYPO3 installation from 7 LTS to 8.7.6.

Now the display conditions in a plugin flexform, which worked fine under TYPO3 7 LTS, don't work under TYPO3 8.7.6.

After doing some research I found out, that the problem is in the EvaluateDisplayConditions class (https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/backend/Classes/Form/FormDataProvider/EvaluateDisplayConditions.php#L660).

Those loops only unset ...[$sheetName]['ROOT']... but not ...[$sheetName]['lDEF']['ROOT']... .

The display conditions work as expected, if I change the line linked above to:

unset(
    $result['processedTca']['columns'][$columnName]['config']['ds']
        ['sheets'][$sheetName]['lDEF']['ROOT']
        ['el'][$flexField]
);

Actions #1

Updated by Christian Kuhn over 6 years ago

  • Status changed from New to Needs Feedback

Could you add the relevant part of your flex DS as example?

Actions #2

Updated by Kai Strecker over 6 years ago

I just tested it again and was unable to reproduce it.

Looks like it got fixed with the last TYPO3 v8 update or it was a temporary web browser bug.

So this issue can be closed.

Actions #3

Updated by Wouter Wolters over 6 years ago

  • Status changed from Needs Feedback to Closed

Closed as requested.

Actions

Also available in: Atom PDF