Bug #52425

"Required option" flag in AbstractValidatior does not work correct

Added by Michael Gerdemann about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-10-01
Due date:
% Done:

100%

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

Description

The "required" flag for the options in source:/Classes/TYPO3/Flow/Validation/Validator/AbstractValidator.php does not work correct.
If the flag is set to FALSE, the option is nevertheless TRUE.

Example (does not work):

protected $supportedOptions = array(
    'optionName'   => array('default, 'Description', 'mixed', FALSE)
);


Files

patch.diff (912 Bytes) patch.diff Michael Gerdemann, 2013-10-01 11:52

Also available in: Atom PDF