Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Quiet

96579[BUGFIX] Do not flush page cache on Extbase errors

Georg Ringer CR 0 V 0 Normal +208 −11 updated 10/09/26, 19:55

Commit message

When an Extbase plugin responds with status 400, usually from the
errorAction() after a failed validation, the page cache of all variants
of the current page was flushed. At the same time the rendered error
output itself was still written to the page cache afterwards, since the
page cache entry is persisted only after rendering has finished.

Instead of flushing the page cache, caching is now disabled for the
current request. Other variants of the page stay cached and the error
output is never cached, independent of the enableAutomaticCacheClearing
setting.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/79/96579/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/79/96579/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Issues 1

Files 7

Review log 12

  1. Georg Ringer uploaded patch set 1 10/09/26, 19:42

  2. core-ci voted on patch set 1 V +1 10/09/26, 19:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110706