Issue Bug Resolved

#110313LanguagePackCommand includes bootstrap files 2 times when executed via scheduler

Philipp Wrann 07/28/26, 15:59 updated 09/10/26, 08:15

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

  1. Garvin Hicking commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2026-07-28T16:11:04+00:00" > 07/28/26, 16:11 </span>

    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.

  2. Philipp Wrann commented and changed subject LanguagePackCommand fails when executed via scheduler LanguagePackCommand includes bootstrap files 2 times when executed via scheduler description priority Should have Could 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.

  3. Gerrit Code Review pushed patch set 1 for main to change 95032 status Needs Feedback Under Review <span data-processor="relativetime" data-value="2026-07-31T06:45:28+00:00" > 07/31/26, 06:45 </span>

  4. Benjamin Franzke commented and changed status Under Review Resolved done 0 % 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.