Project

General

Profile

Actions

Bug #71824

closed

Story #69617: FormEngine bugs

displayCond FIELD can't operate on array values

Added by Sebastian Michaelsen over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
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

bug_71824.zip (2.21 KB) bug_71824.zip Sebastian Michaelsen, 2015-11-25 12:39

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #70265: DisplayCond based on array input failsClosedAnja Leichsenring2015-10-01

Actions
Actions #2

Updated by Christian Kuhn over 8 years ago

  • Parent task set to #69617
Actions #3

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45214

Actions #4

Updated by Morton Jonuschat over 8 years ago

  • Assignee set to Morton Jonuschat
  • Target version set to 7.6.1
Actions #5

Updated by Morton Jonuschat over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF