[!!!][+FEATURE] (MVC): Modify MVC stack to use the new property mapper
authorSebastian Kurfuerst <sebastian@typo3.org>
Tue, 21 Jun 2011 08:06:33 +0000 (10:06 +0200)
committerSebastian Kurfuerst <sebastian@typo3.org>
Thu, 30 Jun 2011 05:46:20 +0000 (07:46 +0200)
commitae5eeef29fb380bee4815ff1efc763dedd86a236
tree0553b07ae000f8483f22be074ebc87c04c4a1544
parent89c0697ee55a7f56ad8ca76f6b2993eb66488ae5
[!!!][+FEATURE] (MVC): Modify MVC stack to use the new property mapper

* use Error_Result for validation errors and property mapping errors
* use new Property Mapper
* use new validation API
* removed @dontvalidate annotation, and replaced it by @ignorevalidation.

The new behavior is only exposed when the feature flag is enabled.
For testing this functionality, follow the instructions in the related issue.

This also brings the AbstractController and ActionController in sync with
FLOW3 again.

Resolves: #27656
Change-Id: I4c888f42eb6e366b2a939e129c6ae3b60eb03581
19 files changed:
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/ArgumentError.php
typo3/sysext/extbase/Classes/MVC/Controller/Arguments.php
typo3/sysext/extbase/Classes/MVC/Controller/ArgumentsValidator.php
typo3/sysext/extbase/Classes/MVC/Controller/ControllerContext.php
typo3/sysext/extbase/Classes/MVC/Controller/Exception/RequiredArgumentMissingException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/MVC/Controller/MvcPropertyMappingConfiguration.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/MVC/Request.php
typo3/sysext/extbase/Classes/MVC/Web/Request.php
typo3/sysext/extbase/Classes/Security/Channel/RequestHashService.php
typo3/sysext/extbase/Tests/Unit/MVC/Controller/AbstractControllerTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ActionControllerTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ArgumentBehaviorBeforeExtbase14Test.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ArgumentTest.php
typo3/sysext/extbase/Tests/Unit/MVC/RequestTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/MVC/Web/RequestTest.php
typo3/sysext/extbase/Tests/Unit/Security/Channel/RequestHashServiceTest.php