Project

General

Profile

Actions

Bug #79981

closed

Bug in TCA displayCond - colons in the operand are ignored

Added by Frank Rakow about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2017-02-23
Due date:
% Done:

100%

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

Description

'displayCond' => 'FIELD:myfield:=:text:with:colons',

The operand is set to 'text' and not to 'text:with:colons', so the displayCond didn't work correct.

Bug in \TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions::parseSingleConditionString

Reason:
the $conditionArray uses trimExplode with no limit.

$conditionArray = GeneralUtility::trimExplode(':', $conditionString);

later in the code the operand is fetched from $conditionArray[3].

$operand = $conditionArray[3];


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #79822: UserFunc in TCA displayCondClosed2017-02-15

Actions
Actions #1

Updated by Gerrit Code Review about 7 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/51836

Actions #2

Updated by Gerrit Code Review about 7 years ago

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

Actions #3

Updated by Christian Kuhn about 7 years ago

  • Description updated (diff)
  • Target version set to 8 LTS
  • Sprint Focus set to Stabilization Sprint
Actions #4

Updated by Anonymous about 7 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF