[TASK] Deprecate second controller action argument 90/58190/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 5 Sep 2018 12:42:22 +0000 (14:42 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 8 Sep 2018 12:29:20 +0000 (14:29 +0200)
commitde8ab6e4190f47ffecd3fffa36a6790eb06051d9
tree78339bafb332dab3624b4aa8452149a6f996a2ca
parent3ff597725c54d8c5cfca0ff0ac5a4c04d6565595
[TASK] Deprecate second controller action argument

Core eid and backend dispatching uses only the $request object as
argument, but not the prepared $response object anymore. This was
a misconception in the first place.

The patch deprecates the second argument and logs deprecations
by reflecting the target action at runtime. This can be supressed
with a new feature toggle.

Resolves: #84196
Releases: master
Change-Id: I003aba6010957cd82e6910fb718ef531116296be
Reviewed-on: https://review.typo3.org/58190
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Http/RequestHandler.php
typo3/sysext/backend/Classes/Http/RouteDispatcher.php
typo3/sysext/core/Classes/Http/Dispatcher.php
typo3/sysext/core/Classes/Http/DispatcherInterface.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml
typo3/sysext/core/Documentation/Changelog/master/Deprecation-84196-BackendControllerActionsDoNotReceivePreparedResponse.rst [new file with mode: 0644]