Issue Bug Closed

#22853Regression in globalVar condition

Steffen Kamper 06/10/10, 01:17 updated 05/15/13, 16:59

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.