Issue Bug New Orphaned

#96963404 handling with disabled language leads to preview in fallback language

Anja Leichsenring 02/18/22, 09:58 updated 02/20/22, 22:35

Description

How to reproduce:

- have a default and any other language created
- disable the second language for FE
- (not sure it is important, I have language mode strict for this page, no fallback)
- have error handling for 404 configured to show content from page
- have a 404 page (the one showing the content that should be displayed in 404 situations), in both default and translation
- preview any regular translated page (means, same BE Domain)
- provoke 404 situation by providing a non-valid URL for this language

Expectation: 404 content is visible for language you are in
Effect: 404 content in default / fallback language is displayed

When language gets enabled, expectation is met and content shows up translated just fine.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] 404 handling with disabled language leads to preview in fallback language Resolves: #96963 Releases: main