Project

General

Profile

Actions

Bug #96994

closed

Scheduler Task "language:update" fails

Added by Henrik Jensen over 2 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2022-02-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In Non CLI mode executing this task

Execute console commands (scheduler)
language:update

fails with

Call to a member function setAndSaveSessionData() on null
in /var/www/typo3_source/typo3_src-10.4.24/typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php line 155

Actions #1

Updated by Oliver Hader over 2 years ago

  • Category set to scheduler
Actions #2

Updated by RVVN no-lastname-given over 2 years ago

Hi, I confirm the issue with TYPO3 10.4.27

Actions #3

Updated by RVVN no-lastname-given over 2 years ago

Issue is still in 10.4.30

Actions #4

Updated by RVVN no-lastname-given over 2 years ago

Found a culprit :

in typo3/sysext/install/Classes/Command/LanguagePackCommand.php, function "execute" calls lateBootService->loadExtLocalconfDatabaseAndExtTables(...)

And function "loadExtLocalconfDatabaseAndExtTables" calls Bootstrap::unsetReservedGlobalVariables() that nullifies $GLOBALS['BE_USER'])

Actions #5

Updated by Florian Seirer over 2 years ago

I can also confirm this issue on TYPO3 10.4.30.

The error appears only if I start the task manually in the scheduler module. There's no error if the task runs automatically.
In both cases the translation files are downloaded, so this isn't a big issue (at least for me).

Actions #6

Updated by Markus Klein over 1 year ago

  • Category changed from scheduler to Install Tool
Actions #7

Updated by Markus Klein over 1 year ago

  • Subject changed from Scheduler Task fails to Scheduler Task "language:update" fails

Seems to work in v11 though.

Actions #8

Updated by RVVN no-lastname-given over 1 year ago

I confirm that it works in v11.

Actions #9

Updated by Georg Ringer 6 months ago

  • Status changed from New to Closed

closing issue as it works in 11

Actions

Also available in: Atom PDF