-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
ValidatoractionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
For example, when an empty string is validated through the Length
constraint, it is considered to be valid no matter if the constraint required a minimum length (see symfony/symfony#11943). It should be made clear that you also have to use the NotBlank
constraint to disallow empty strings too.
Note that the Length
constraint isn't the only constraint with this behaviour.
Metadata
Metadata
Assignees
Labels
ValidatoractionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.