Bug #47988

Colon not possible in TCA "displayCond" value

Added by Sascha Egerer about 8 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2013-05-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Currently a colon is not possible in the value of a display condition for TCA fields.

So something like this would does work:

FIELD:view.templateRootPath:=:EXT:myext/Resources/Private/Templates/customTemplateFolder/

The funtion "isDisplayCondition" explodes the string by the ":" character. So the example string is exploded into 5 parts but the 5th part is ignored.

The "explode" should be limited to 4 parts and 4th part should contain the whole string after the third colon.


Related issues

Related to TYPO3 Core - Task #46461: Extract displayCond functionality from FormEngine to new classClosed2013-03-20

Actions
#1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/20551

#2

Updated by Thorsten Kahler about 8 years ago

Sascha Egerer wrote:

The "explode" should be limited to 4 parts and 4th part should contain the whole string after the third colon.

I'd even prefer to explode only into 2 parts and split the second part according to the case (FIELD, EXT, REC, ...).

#3

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/20552

#4

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/20552

#5

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/20552

#6

Updated by Gerrit Code Review almost 8 years ago

Patch set 4 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/20552

#7

Updated by Anonymous almost 8 years ago

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

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF