Bug #96994
closedScheduler Task "language:update" fails
0%
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
Updated by RVVN no-lastname-given over 2 years ago
Hi, I confirm the issue with TYPO3 10.4.27
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'])
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).
Updated by Markus Klein over 1 year ago
- Category changed from scheduler to Install Tool
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.
Updated by RVVN no-lastname-given over 1 year ago
I confirm that it works in v11.
Updated by Georg Ringer 6 months ago
- Status changed from New to Closed
closing issue as it works in 11