Bug #57817

StringLengthValidator accept empty value, although the "minimum" option is greater than "0"

Added by Timo Dödtmann over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Should have
Category:
Validation
Target version:
-
Start date:
2014-04-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

For the StringLengthValidator the property "acceptsEmptyValues" is set to "TRUE", even if the "minimum" option is greater than "0".
So, if a empty string is valitated, where the minimum option is set set to e.g. "1", the StringLengthValidator doesn't generate a error.

Also available in: Atom PDF