[BUGFIX] Validation with invalid validator causes unrelated errors
authorClaus Due <claus@wildside.dk>
Sun, 18 Nov 2012 11:34:49 +0000 (12:34 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 5 May 2013 10:39:53 +0000 (12:39 +0200)
commitde420557eed54249f8528d5a93b37db0daeb18f2
treedcf7d618dd736611a3a8156c4002570ac3967a5c
parent0c2f1d8414bc2715b22cbcab6371cba76a749219
[BUGFIX] Validation with invalid validator causes unrelated errors

This change checks the resolved validator class name for presence
of the correct interface before accepting it as a validator.

Change-Id: Ic33c4107f7b47903b19377178c5f071c5a668a5a
Fixes: #11374
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19971
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php
typo3/sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php