Project

General

Profile

Actions

Task #87986

closed

Allow TCA display conditions with AND/OR with only one element

Added by Markus Klein about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2019-03-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

There is an artificial limitation in the display condition evaluation code, that complains if one only specifies a single element.

This is first wrong, since a single element in an AND/OR condition is always the single element itself, second it is very inconvenient, when preparing for instance flexforms with a displCond and it should be extensible from the very beginning.

Actions

Also available in: Atom PDF