Project

General

Profile

Actions

Bug #47988

closed

Colon not possible in TCA "displayCond" value

Added by Sascha Egerer almost 11 years ago. Updated over 5 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Gerrit Code Review almost 11 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

Actions #2

Updated by Thorsten Kahler almost 11 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, ...).

Actions #3

Updated by Gerrit Code Review almost 11 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

Actions #4

Updated by Gerrit Code Review almost 11 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

Actions #5

Updated by Gerrit Code Review almost 11 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

Actions #6

Updated by Gerrit Code Review almost 11 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

Actions #7

Updated by Anonymous almost 11 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF