[BUGFIX] Keep existing validation errors for recursive domain relations 33/58833/3
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 19:48:52 +0000 (20:48 +0100)
commit1e462fbf8f28329686aa136f21b739438c9e6bcd
treee5ad62155480ef5747978d1388470bb6311bae8b
parent61327163d092d91b700fd3789872b776daf02956
[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/58833
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