Bug #78200
closedStringLengthValidator should not accept empty values
0%
Description
When the StringLengthValidator has set a minimum string lenght of >0 then it should not accept an empty value.
Updated by Gerrit Code Review about 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50139
Updated by Frans Saris about 8 years ago
- Status changed from Under Review to Needs Feedback
Imo you should use the required validator if you require a string value. Making the min 0 value require a string prevents you from using the stringLenghtValidator without minimum length so if you only want to validate if a string is given it must not be longer then x chars.
Updated by Alexander Opitz almost 8 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.