#88185Misleading exception message for BE modules if action not allowed
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