[!!!][TASK] Don't guess extension name by looking at controller name 23/59623/5
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Sat, 2 Feb 2019 14:15:42 +0000 (15:15 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 1 Mar 2019 17:48:06 +0000 (18:48 +0100)
commita8b673daf995b024580d393f5ebada6ea82bc6b1
tree68c01b5405a93f794fddb4f45423781e2fe42a7f
parentf74cf58c1daff84e14e41d73074ad8e6e64bd46e
[!!!][TASK] Don't guess extension name by looking at controller name

\TYPO3\CMS\Extbase\Mvc\Controller\AbstractController::$extensionName
had been set in the constructor by looking at the controller class
name and guessing the extension name by removing parts of the
class namespace.

Since the extension name is known when registering plugins and modules,
the extension name will no longer be guessed in the constructor but
can be fetched from the request object.

Releases: master
Resolves: #87627
Change-Id: I307275861003f7e6bd37e76a77658c283a9b2bd2
Reviewed-on: https://review.typo3.org/c/59623
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Jürgen Venne <venne@schaffrath-digital.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Jürgen Venne <venne@schaffrath-digital.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Documentation/Changelog/master/Breaking-87627-RemovePropertyExtensionNameOfAbstractController.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php
typo3/sysext/extbase/Tests/Fixture/DummyController.php [deleted file]