Task #47159
closedCurrently it isn't possible to pass multiple params to user functions within typoscript conditions. Why?
100%
Description
Currrently you can use user functions for typoscript conditions and pass one parameter to your created functions. If you have more than parameter, you must create a workaround and use an delimiter other than comma an split it up in your userfunctions to separate them.
But there is no reason to that.
TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher line 405 following split up the function params into an array, but pass only the first param to your function? Why.
Is there a fundamental reason, why we should/could not do that?
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19835
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/19838
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19835
Updated by Anonymous about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7a03df2bef72ee421de4dbd5ca6779ecad0840d7.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed