Bug #82637
closedDisplay conditions in plugin flexform are not working
0%
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]
);
Updated by Christian Kuhn about 7 years ago
- Status changed from New to Needs Feedback
Could you add the relevant part of your flex DS as example?
Updated by Kai Strecker about 7 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.
Updated by Wouter Wolters about 7 years ago
- Status changed from Needs Feedback to Closed
Closed as requested.