#107974Missing session in CLI mode could cause problems
Description
I know, there is no real sense for sessions in CLI mode.
On the other hand, I ran into a scenario when an extension hooks into DataHandler and tries to write flash messages to the session. This resulted in the following exception:
> Uncaught TYPO3 Exception Call to a member function set() on null thrown in file /var/www/html/vendor/typo3/cms-core/Classes/Authentication/AbstractUserAuthentication.php in line 1062
Reviews 1
Related issues 1
History 34
-
Gerrit Code Review pushed patch set 1 for main to change 91420 status
NewUnder Review <span data-processor="relativetime" data-value="2025-11-04T10:21:04+00:00" > 11/04/25, 10:21 </span> -
Garvin Hicking commented and changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2025-11-04T11:13:23+00:00" > 11/04/25, 11:13 </span> -
Stefan Bürk changed assigned to Stefan Bürk <span data-processor="relativetime" data-value="2025-11-05T01:11:54+00:00" > 11/05/25, 01:11 </span>
-
Garvin Hicking changed Related to #110074 <span data-processor="relativetime" data-value="2026-06-18T07:31:31+00:00" > 06/18/26, 07:31 </span>
Will/should be resolved via patches like https://github.com/web-vision/deepltranslate-glossary/pull/18/files to address this in extension-scope. Thanks so much for the effort, hope you understand :D