Bug #88185
closedMisleading exception message for BE modules if action not allowed
100%
Description
The exception message is wrong for modules. Modules are registered in ext_tables.php and not in ext_localconf.php. And it should say "module" and not "plugin".
If the function doesn't know if the action is for a module or plugin, it might be best to mention both.
Reproduce¶
- Create a BE module with Extbase.
- Create a new action without allowing it in 2registerModule()
- Call the action
Actual result¶
Exception message: Example
#1313855175 TYPO3\CMS\Extbase\Mvc\Exception\InvalidActionNameException The action "check" (controller "Something") is not allowed by this plugin. Please check TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin() in your ext_localconf.php.
Expected result¶
... is not allowed by this plugin / module. Please check configurePlugin in your ext_localconf.php / registerModule in your ext_tables.php.
System details¶
TYPO3 9.5.5
Updated by Gerrit Code Review over 4 years 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/c/Packages/TYPO3.CMS/+/64046
Updated by Gerrit Code Review over 4 years 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/c/Packages/TYPO3.CMS/+/64046
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63979
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63979
Updated by Benni Mack over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8b22515e48f70dabcad373f99adb840c9d24bbe4.