[BUGFIX] Skip validation of uninitialized collections
Elements in LazyObjectStorages should not be validated, since the values would be reconstituted from persistence anyway. This patch adds the same behaviour as implemented in Flow and adds the tests found in Flow (and one additional test). Resolves: #53816 Releases: 6.2 Change-Id: I65f62a4ef6777e3678b2fdd06fc58d828bb8cb87 Reviewed-on: https://review.typo3.org/25549 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Steffen Müller Tested-by: Steffen Müller
Showing
- typo3/sysext/extbase/Classes/Validation/Validator/CollectionValidator.php 2 additions, 0 deletions...base/Classes/Validation/Validator/CollectionValidator.php
- typo3/sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php 199 additions, 0 deletions...sts/Unit/Validation/Validator/CollectionValidatorTest.php
Please register or sign in to comment