Bug #52607
closedDomain Model validators are executed twice
100%
Description
Fix for this needs to be backported from Flow
@see #49624
Updated by Andreas Allacher over 10 years ago
Should be included before final v6.2 LTS
Currently the validators are called double. The issue was introduced most likely with this change:
https://git.typo3.org/Packages/TYPO3.CMS.git/commit/66fb0ad5c6755089db014cd329357898632bf444
because now the validator is found via buildMethodArgumentsValidatorConjunctions and buildBaseValidatorConjunction and added on both parts.
Updated by Online Now! GmbH over 10 years ago
Bug is still present in TYPO3 6.2.4. Also if you add an annotation @validate with the validator before a controller action, the validator gets executed three times. Only workaround in the mean time is to put the validators not in the \Domain\Validator directory or modify the Extbase source code.
Updated by Alexander Opitz about 10 years ago
- Project changed from 534 to TYPO3 Core
- Category changed from Extbase: Validation to Extbase
- Target version changed from Extbase 6.2 to next-patchlevel
- TYPO3 Version set to 6.2
- Is Regression set to No
Updated by Alexander Schnitzler almost 10 years ago
- Status changed from New to Accepted
- Assignee set to Alexander Schnitzler
Updated by Gerrit Code Review almost 10 years ago
- Status changed from Accepted 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 http://review.typo3.org/36915
Updated by Anonymous almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e5c3c6cb070f8d059fff3dbc949142531e0a36ce.
Updated by Gerrit Code Review over 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37579
Updated by Anonymous over 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset ae317f2ae12c7e3743b5b5810c89c7223c9a902c.
Updated by Alessandro Schmitz over 7 years ago
- TYPO3 Version changed from 6.2 to 7
Looks like this bug is still in 7.6.x.
Having the same problem: Validator class inside the domain folder gets called twice and outside only once.