Bug #78200
closed
StringLengthValidator should not accept empty values
Added by Bernhard Kraft about 8 years ago.
Updated almost 8 years ago.
Description
When the StringLengthValidator has set a minimum string lenght of >0 then it should not accept an empty value.
- Status changed from New to Under Review
- 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.
- 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.
Also available in: Atom
PDF