Task #87627

Don't guess extension name by looking at controller name

Added by Alexander Schnitzler 10 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-02-02
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Associated revisions

Revision a8b673da (diff)
Added by Alexander Schnitzler 9 months ago

[!!!][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 <>
Tested-by: Daniel Goerz <>
Tested-by: Jürgen Venne <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Daniel Goerz <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Jürgen Venne <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review 10 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59623

#2 Updated by Gerrit Code Review 10 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59623

#3 Updated by Gerrit Code Review 9 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59623

#4 Updated by Gerrit Code Review 9 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59623

#5 Updated by Anonymous 9 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF