[-API] Extbase (MVC): Removed enableValidation() and disableValidation() on the Contr...
authorSebastian Kurfürst <sebastian@typo3.org>
Thu, 17 Sep 2009 10:50:35 +0000 (10:50 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Thu, 17 Sep 2009 10:50:35 +0000 (10:50 +0000)
commit67098a0dfcf1ddf73ead238fa40e38234da917eb
tree3d38e85d9742f36cac0727f6e8fa5ab2cc5429ae
parent7f8e8c8ac7dde2824c264a88c3f0842333d20871
[-API] Extbase (MVC): Removed enableValidation() and disableValidation() on the Controller Argument. They are not needed anymore.
[!!!][+BUGFIX] Extbase (MVC): Now, in case people do not specify an @param annotation, they will get an exception instead of Text being used.
[+BUGFIX] Extbsee (MVC): Cleaned up validator registration in ActionController. Now, @dontvalidate annotations only disable the model-based validators.
[+BUGFIX] Extbase (Validation): Cleaned up ValidatorResolver. Now, Validators which check the data type from the @param annotation are also added to the validator chain.
[!!!][+BUGFIX] Extbase (Validation): @param string is now validated as string, and not anymore as Text. This fixes numerous bug reports in Fluid.
typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php
typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php
typo3/sysext/extbase/Classes/MVC/Controller/Argument.php
typo3/sysext/extbase/Classes/MVC/Controller/ArgumentsValidator.php
typo3/sysext/extbase/Classes/Validation/Exception/InvalidValidationConfiguration.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Validator/StringValidator.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php
typo3/sysext/extbase/Tests/MVC/Controller/ActionController_testcase.php
typo3/sysext/extbase/Tests/Validation/ValidatorResolver_testcase.php