Issue Bug Closed

#105616Extbase repository call from command leads to: ConfigurationManager has not been initialized properly

Alex Kellner 11/17/24, 19:47 updated 11/17/24, 20:30

Description

An issue in TYPO3 13. When calling an extbase repository from a command, this error happens:

No request given. ConfigurationManager has not been initialized properly.

——

Example command:

public function execute(InputInterface $input, OutputInterface $output): int
{
    $dlR = GeneralUtility::makeInstance(DownloadRepository::class);
    $dlR->findAll();
}

The DownloadRepository is a completely default extbase repository and can be empty.

Reviews 0

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