Actions
Bug #22853
closedRegression in globalVar condition
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In 4.2 this condition worked:
[globalVar = TSFE:id = 1,2,3,4,5,6,7,8,9]
This doesn't work in 4.3. Reason is, that testNumber now always expect operator for first parameter, example:
testNumber('=2', '2') returns true
So this works only for the first value in commalist.
But this doesn't work in both versions:
[globalVar = TSFE:id > 1,2,3,4,5,6,7,8,9]
[globalVar = TSFE:id != 1,2,3,4,5,6,7,8,9]
Solution:
Use operator for all values. As globalString use the same splitting, use same syntax there too.
(issue imported from #M14680)
Files
Actions