[BUGFIX] Keep existing validation errors for recursive domain relations 77/56677/6
authorMarkus Klösges <mkloesges@gmx.de>
Mon, 16 Apr 2018 08:43:24 +0000 (10:43 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 2 Nov 2018 18:57:06 +0000 (19:57 +0100)
commit565764486d13c18fd526a428e983388b2bc36cb5
tree2b911c08ef64cc315bbcde9c5f162274b3df1224
parentf347a3161e8c1733b2562d2dcd80f304b7f61d89
[BUGFIX] Keep existing validation errors for recursive domain relations

Do not overwrite already generated validation errors when a property
validator leads to a recursive validate() call to the currently
validated GenericObjectValidator.

Resolves: #84475
Releases: master, 8.7
Change-Id: Ifbdb28ddcf6a8e7f1517801ebcd6634149b2bd5d
Reviewed-on: https://review.typo3.org/56677
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/extbase/Classes/Validation/Validator/CollectionValidator.php
typo3/sysext/extbase/Classes/Validation/Validator/GenericObjectValidator.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php