Issue Bug Closed

#87865Site error handling does not work with disabled languages

Jonas Schwabe 03/08/19, 16:32 updated 05/07/19, 12:10

Description

On a page with multiple site languages where at least one is disabled (e.g. example.com/en), error handlers that are configured to render a page fail because the page is not accessible with the current language.

Oops, an error occurred!
Error handler could not fetch error page "https://example.com/de/page-not-found", reason: Client error: `GET https://example.com/de/page-not-found` resulted in a `404 Page is not available in the requested language.` response
More information regarding this error might be available online.

As /de is disabled I would expect that accessing /de would show me the 404 page of the main language (e.g. /en/page-not-found).

Reviews 4