Actions
Bug #71824
closedStory #69617: FormEngine bugs
displayCond FIELD can't operate on array values
Status:
Closed
Priority:
Should have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-11-25
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Records passed to the EvaluateDisplayConditions provider can contain array values, which can't be properly processed with the capabilities of FIELD.
I have two suggestions:- The array values should be converted back to scalar values (like comma separated lists) for this evaluation => backwards compatible.
- Operators are added that can handle array values (like COUNT or CONTAINS) => breaking change
I'll add an example extension in a moment.
Files
Actions