Project

General

Profile

Actions

Bug #86719

closed

Adminpanel SubModuleRenderViewHelper throws exception while not implementing ContentProviderInterface

Added by Jan Stockfisch about 6 years ago. Updated over 5 years ago.

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

Auswahl_057.png (62.7 KB) Auswahl_057.png InvalidArgumentException Jan Stockfisch, 2018-10-23 10:53
Auswahl_056.png (37.3 KB) Auswahl_056.png Error Jan Stockfisch, 2018-10-23 10:53
Actions

Also available in: Atom PDF