config.linkVars check doesn't allow negative ranges
The newly introduced linkVars check in TYPO3 4.1 doesn't allow negative ranges.
config.linkVars = my_variable(1-5) is valid
config.linkVars = my_variable(-1-5) doesn't work
config.linkVars = my_variable(-1--3) doesn't work and looks very ugly
I suggest to use ".." as delimiter, e.g.
config.linVars = my_variable(-1..-3)
Possibly it is allowed in TYPO3 4.2 to use config.linkVars = tx_myext_pi1[var](
1..-3), but we should change the delimiter from "" to ".." now.
(issue imported from #M5009)
I get the feeling of inconsistency here. I agree that -5--1 looks ugly, but if you insert spaces between, it is not so bad anymore:
config.linkVars = test(-1 - -3)
Personally I would favour this over adding a new separator. What do you think?
I can live with reusing the "-" separator. But the code getting the lower and upper bound has to be changed anyway (currently "$range = explode('-',$needle);")
- Category deleted (
- Status changed from New to Needs Feedback
- Target version deleted (
As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Also available in: Atom