[BUGFIX] Error code 1238108067 is used twice 39/38539/2
authorXavier Perseguers <xavier@typo3.org>
Wed, 8 Apr 2015 14:43:47 +0000 (16:43 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 8 Apr 2015 14:51:26 +0000 (16:51 +0200)
Code is used in StringValidator and in StringLengthValidator.

Releases: master, 6.2
Resolves: #65654
Change-Id: Id6abd51252c361d55e166274a9ab1aea18652b14
Reviewed-on: http://review.typo3.org/38539
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/extbase/Classes/Validation/Validator/StringLengthValidator.php

index 23f2fe3..1ca4e16 100644 (file)
@@ -74,7 +74,7 @@ class StringLengthValidator extends AbstractValidator {
                                                        $this->options['minimum'],
                                                        $this->options['maximum']
                                                )
-                                       ), 1238108067, array($this->options['minimum'], $this->options['maximum']));
+                                       ), 1428504122, array($this->options['minimum'], $this->options['maximum']));
                        } elseif ($this->options['minimum'] > 0) {
                                $this->addError(
                                        $this->translateErrorMessage(