Issue Bug Rejected

#91239Class does not exist. Reflection failed.

Roman Büchler 04/29/20, 19:26 updated 11/08/22, 00:31

Description

The error comes up on a non composer installation where the TYPO3 version is 10.4.1.

The following code creates a reflection failed error in the frontend:

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
    'Timelog',
    'Taskpanel',
    [
        'Task' => 'list,createBatch,error',
        'Project' => 'list'
    ],
    [
        'Task' => 'list,createBatch,error',
        'Project' => 'list'
    ]
);

The following code works:

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
    'Buepro.Timelog',
    'Taskpanel',
    [
        'Task' => 'list,createBatch,error',
        'Project' => 'list'
    ],
    [
        'Task' => 'list,createBatch,error',
        'Project' => 'list'
    ]
);

The exact error code is:

(1/2) #1278450972 TYPO3\CMS\Extbase\Reflection\Exception\UnknownClassException
Class Timelog\Controller\TaskController does not exist. Reflection failed.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.