You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class AbstractMapping uses the TYPO3 ReflectionService to determine the correct data type.
This leads currently to the following exception:
TypeError: TYPO3\CMS\Extbase\Reflection\ReflectionService::__construct():
Argument #1 ($cache) must be of type TYPO3\CMS\Core\Cache\Frontend\FrontendInterface, Acme\RoadRunner\Domain\Model\Coyote given,
called in vendor/crossmedia/fourallportal/Classes/Mapping/AbstractMapping.php on line 511
The reflection service itself uses the frontend cache and an identifier as constructor arguments.
Additionally it should be instantiated via GeneralUtility::makeInstance().
The class AbstractMapping uses the TYPO3 ReflectionService to determine the correct data type.
This leads currently to the following exception:
Expected behavior
No exception occured.
To Reproduce
Used versions:
TYPO3: v12.4.17
Extension version: 3e00a60 (@Dev-Master)
Additional context
This exception occured during a functional test.
The stacktrace is as followed:
The reflection service itself uses the frontend cache and an identifier as constructor arguments.
Additionally it should be instantiated via
GeneralUtility::makeInstance()
.See:
crossmedia_fourallportal/Classes/Mapping/AbstractMapping.php
Line 511 in 3e00a60
The whole method seems to need refactoring, since the methods and there result of the reflection service changed.
Relates change log entries:
The text was updated successfully, but these errors were encountered: