Task #33537

Rename NotEmpty Validator to Required

Added by Bastian Waidelich over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Won't have this time
Category:
Validation
Target version:
-
Start date:
2012-01-30
Due date:
% Done:

0%

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

Description

The NotEmpty validator has a special meaning as it is executed for empty values (NULL or '') too. "NotEmpty" is a bit misleading and I would suggest to rename that to "Required".
For compatibility reasons the NotEmpty validator should be kept as subclass with @obsolete annotation.


Related issues

Related to TYPO3.Flow - Bug #33300: Validators should allow empty valuesResolvedBastian Waidelich2012-01-18

Actions
#1

Updated by Bastian Waidelich over 9 years ago

  • Status changed from New to Closed
  • Priority changed from Should have to Won't have this time
  • Target version deleted (1.1)

There are more important issues at the moment so it is not worth the effort

Also available in: Atom PDF