Project

General

Profile

Actions

Bug #78200

closed

StringLengthValidator should not accept empty values

Added by Bernhard Kraft about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2016-10-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
5.6
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

When the StringLengthValidator has set a minimum string lenght of >0 then it should not accept an empty value.

Actions #1

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

Actions #2

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.

Actions #3

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.

Actions

Also available in: Atom PDF