Project

General

Profile

Actions

Bug #105616

closed

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

Added by Alex Kellner 4 days ago. Updated 4 days ago.

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.


Related issues 1 (1 open0 closed)

Is duplicate of TYPO3 Core - Bug #105554: Enable Extbase to be used in console commandsAccepted2024-11-07

Actions
Actions

Also available in: Atom PDF