Issue Bug Closed

#109168ProductionExceptionHandler shows "503" on error page regardless of actual HTTP status

Josua Vogel 03/05/26, 18:57 updated 08/11/26, 08:46

Description

The error page rendered by ProductionExceptionHandler always displays
“503”, even though the HTTP response header may be 500, 404, 403 etc.

How to reproduce:
Trigger any unhandled exception in production context, e.g. a generic
RuntimeException. The browser DevTools show HTTP 500, but the error
page displays “503”.

Cause:
echoExceptionWeb() passes a hardcoded 503 to ErrorPageController::errorAction(),
while sendStatusHeaders() correctly derives the status from the exception.

Reviews 2

History 38

  1. Josua Vogel changed Related to #102204 03/05/26, 18:57

  2. Gerrit Code Review pushed patch set 1 for main to change 93092 status New Under Review 03/05/26, 19:01

  3. Gerrit Code Review pushed patch set 2 for main to change 93092 03/16/26, 07:12

  4. Gerrit Code Review pushed patch set 3 for main to change 93092 05/22/26, 11:59

  5. Gerrit Code Review pushed patch set 4 for main to change 93092 05/26/26, 05:30

  6. Gerrit Code Review pushed patch set 1 for 14.3 to change 94194 05/28/26, 20:38

  7. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % 05/28/26, 20:50

    Applied in changeset commit:fdc8d31ba3ea34b30e5a0d16229d88d5b323ded8.

  8. Benni Mack changed status Resolved Closed 08/11/26, 08:46