Bug #96994
closed
Scheduler Task "language:update" fails
Added by Henrik Jensen over 2 years ago.
Updated 6 months ago.
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
- Category set to scheduler
Hi, I confirm the issue with TYPO3 10.4.27
Issue is still in 10.4.30
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'])
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).
- Category changed from scheduler to Install Tool
- Subject changed from Scheduler Task fails to Scheduler Task "language:update" fails
Seems to work in v11 though.
I confirm that it works in v11.
- Status changed from New to Closed
closing issue as it works in 11
Also available in: Atom
PDF