Review 14.3 Merged

94194[BUGFIX] Sync displayed HTTP status code with actual response header in ProductionExceptionHandler

Christian Kuhn CR +2 V +2 Normal +81 −7 updated 05/28/26, 20:46

Commit message

When an unhandled exception reaches the ProductionExceptionHandler,
`sendStatusHeaders()` derives the HTTP response code from the exception
(500 for generic exceptions, or the code from `getStatusHeaders()` for
typed HTTP exceptions like ServiceUnavailableException). However, the
call to `errorAction()` passed a hardcoded `503` as the display value,
causing a permanent mismatch between the actual HTTP response header
and the status code shown on the error page.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 2

Files 3

Review log 34

  1. Christian Kuhn uploaded patch set 1 05/28/26, 20:38

  2. core-ci voted on patch set 1 V +1 05/28/26, 20:45 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/102565

  3. Christian Kuhn voted on patch set 1 CR +2 V +2 05/28/26, 20:46

  4. Christian Kuhn merged patch set 2 05/28/26, 20:46