Task #33537

Rename NotEmpty Validator to Required

Added by Bastian Waidelich over 3 years ago. Updated about 3 years ago.

Status:Closed Start date:2012-01-30
Priority:Won't have this time Due date:
Assigned To:Bastian Waidelich % Done:

0%

Category:Validation
Target version:-
Sprint: Has patch:No
PHP Version: 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 values Resolved 2012-01-18

History

#1 Updated by Bastian Waidelich about 3 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