Bug #47988
closedColon not possible in TCA "displayCond" value
100%
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.
Updated by Gerrit Code Review over 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
Updated by Thorsten Kahler over 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, ...).
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Anonymous over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7f42eca5563f16f7fc408d1bfa45eb532d109cef.