Actions
Bug #105616
closedExtbase repository call from command leads to: ConfigurationManager has not been initialized properly
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2024-11-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions