#110313LanguagePackCommand includes bootstrap files 2 times when executed via scheduler
Description
The command invokes the “lateBootService” and inlcudes bootstrap-files.
This does not cause any severe issues because TYPO3 itself does not use dark magic in those files. But userland code does very often (instanciate some registry, check some state, merge some stuff etc) and will continue to do so for some time.
This might happen in V13 as well, i will update the issue once i know.
I reported this as bug because in my case my own userland code triggers an error, if it detects some collision and it detected a collision because of the double-execution.
Reviews 2
History 37
-
Garvin Hicking commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2026-07-28T16:11:04+00:00" > 07/28/26, 16:11 </span> -
Philipp Wrann commented and changed subject
LanguagePackCommand fails when executed via schedulerLanguagePackCommand includes bootstrap files 2 times when executed via scheduler description priorityShould haveCould have <span data-processor="relativetime" data-value="2026-07-30T14:39:26+00:00" > 07/30/26, 14:39 </span>@ghi thanks for checking. A vanilla TYPO3 won’t fail. Because of that and some more thoughts on the topic, i decreased the priority. To confirm, that typo3 will include those files 2 times, you could add a assertion to any ext_localconf.php and run the command
assert(!isset($GLOBALS['mustBeEmpty']));$GLOBALS['mustBeEmpty'] = 1;I am going to adopt my userland code to NOT trigger an error, which will solve the issue for me.
It would be correct to avoid including those files twice, so i guess its okay to keep this issue open.
-
Gerrit Code Review pushed patch set 1 for main to change 95032 status
Needs FeedbackUnder Review <span data-processor="relativetime" data-value="2026-07-31T06:45:28+00:00" > 07/31/26, 06:45 </span> -
Gerrit Code Review pushed patch set 2 for main to change 95032 <span data-processor="relativetime" data-value="2026-09-03T19:50:27+00:00" > 09/03/26, 19:50 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 95635 <span data-processor="relativetime" data-value="2026-09-04T09:05:09+00:00" > 09/04/26, 09:05 </span>
-
Gerrit Code Review pushed patch set 2 for 14.3 to change 95635 <span data-processor="relativetime" data-value="2026-09-10T08:00:21+00:00" > 09/10/26, 08:00 </span>
-
Benjamin Franzke commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-09-10T08:15:10+00:00" > 09/10/26, 08:15 </span>Applied in changeset commit:eaddf3d468a662a8e2aa44e30b5893375561cecf.
Hi,
Indeed it would be important to know if it happens in v13. V12 no longer has any commu ity support so nothing there will be addressed here that doesn’t apy to a maintained LTS version.
In my v13 instance it seems to work.