Bug #79981
closedBug in TCA displayCond - colons in the operand are ignored
100%
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];
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Christian Kuhn over 7 years ago
- Description updated (diff)
- Target version set to 8 LTS
- Sprint Focus set to Stabilization Sprint
Updated by Anonymous over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a70748ba42e8a1f4672dfd284ae695b360d5dc85.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed