Task #87550
closedUse controller classes when registering plugins/modules
100%
Updated by Gerrit Code Review almost 6 years ago
- Status changed from New to Under Review
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59566
Updated by Gerrit Code Review almost 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59566
Updated by Gerrit Code Review almost 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59566
Updated by Gerrit Code Review almost 6 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59566
Updated by Gerrit Code Review almost 6 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59566
Updated by Gerrit Code Review almost 6 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59566
Updated by Anonymous almost 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e67b6cf1ce74f302c4b904faab40c10b4598529d.
Updated by Oliver Hader over 5 years ago
- Related to Bug #88513: Non-FQCN controllers should still be usable in Extbase added
Updated by Robert Vock over 5 years ago
Just a small note:
If the configurePlugin
call still uses the old controller name without the fully qualified class name and a class with that name exist, the automatic fallback does not work:
ExtensionUtility.php#L76
I don't think there are many instances were this is a problem, but I had a SmartyController
and the class Smarty
exists, so this code did not work in TYPO3 v10:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'VierwdSmarty',
'smarty_render',
['Smarty' => 'render',],
[]
);
I got this exception:
#1476109646 TYPO3\CMS\Extbase\Mvc\Exception\InvalidControllerException
Invalid controller "Smarty". The controller must implement the TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface.
As I said: I do not think there are many (or even any ;-)) extensions, were this is a problem. I just wanted to leave this note, if someone else has this problem.
Updated by Oliver Hader almost 5 years ago
- Related to Bug #89434: Action argument values will get lost on validation error added
Updated by Markus Klein over 4 years ago
- Related to Bug #91355: Extension scanner reports correct usages of functions added
Updated by Oliver Hader over 4 years ago
- Related to Bug #91418: UnknownClassException with Fluid autocomplete widget added
Updated by Simon Schaufelberger about 3 years ago
- Related to Task #95354: Remove deprecated code from "Use controller classes when registering plugins/modules" added
Updated by Christian Kuhn almost 3 years ago
- Related to Task #96298: Remove vendor and non-FQDN handling in extbase added
Updated by Christian Kuhn almost 3 years ago
- Related to Task #96047: Do not register plugins/modules with vendor name added