Review 14.3 Merged

96727[BUGFIX] Load ext_localconf.php in cache:flushtags

Felix Buenemann CR +2 V +2 Normal +61 −1 updated 10/30/26, 17:13

Commit message

The `cache:flushtags` command is registered as low-level command and
therefore runs without ext_localconf.php being loaded. #108280 made it
take the CacheManager from the non-failsafe container, but that one is
built from the base configuration only: caches that extensions register
or change in ext_localconf.php are not part of the flush.

As a result, flushing a tag from the command line leaves entries of
these caches behind, for example the static files of
EXT:staticfilecache, and backend wrappers that extensions install for
core caches are bypassed.

The command now loads ext_localconf.php before fetching the
CacheManager, as `cache:flush` already does.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Guido Schmechel +1
  • Verified V +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Guido Schmechel +1
    • core-ci +1 CI

Issues 3

Files 4

Review log 56

  1. Felix Buenemann uploaded patch set 1 10/15/26, 14:19

  2. core-ci voted on patch set 1 V +1 10/15/26, 14:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111206

  3. Georg Ringer voted on patch set 1 CR +1 V +1 10/15/26, 18:51

  4. Guido Schmechel voted on patch set 1 CR +1 V +1 10/16/26, 09:40

  5. Benni Mack voted on patch set 1 CR +2 V +2 10/30/26, 17:13

  6. Benni Mack merged patch set 2 10/30/26, 17:13