Actions
Bug #86719
closedAdminpanel SubModuleRenderViewHelper throws exception while not implementing ContentProviderInterface
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2018-10-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Currently while not implementing a ContentProviderInterface and therfore not implementing method `getContent()` throws an InvalidArgumentException: `The argument "module" was registered with type "TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface", but is of type "Psychomieze\AdminpanelExtended\Modules\Info\InternalContentObjects" in view helper "TYPO3\CMS\Adminpanel\ViewHelpers\SubModuleRenderViewHelper".`.
This happens only right after all caches have been cleared.
Using "warmed up" caches will throw `Call to undefined method Psychomieze\AdminpanelExtended\Modules\Info\InternalContentObjects::getContent()`
Files
Actions