Actions
Bug #72047
closedUsing NumberRangeValidator with startRange/endRange does not work
Status:
Closed
Priority:
Must have
Assignee:
Category:
Extbase
Target version:
Start date:
2015-12-03
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:
Description
#58313 introduced a regression.
If you use
* @validate NumberRange (startRange = 0, endRange = 2)
this will never be checked, but the default values from $this->supportedOptions of minimum/maximum will be used
protected $supportedOptions = array( 'minimum' => array(0, 'The minimum value to accept', 'integer'), 'maximum' => array(PHP_INT_MAX, 'The maximum value to accept', 'integer'), 'startRange' => array(0, 'The minimum value to accept', 'integer'), 'endRange' => array(PHP_INT_MAX, 'The maximum value to accept', 'integer') );
Actions