Project

General

Profile

Actions

Bug #17001

closed

config.linkVars check doesn't allow negative ranges

Added by Oliver Hader about 17 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-02-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The newly introduced linkVars check in TYPO3 4.1 doesn't allow negative ranges.

Example:
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)


Files

0005009.patch (1.16 KB) 0005009.patch Administrator Admin, 2007-02-17 11:08
Actions

Also available in: Atom PDF