Skip to content
Snippets Groups Projects
Commit 6f5f1d9c authored by Susanne Moog's avatar Susanne Moog Committed by Benni Mack
Browse files

[BUGFIX] Check default language for preview requirements

When previewing a translated page that is enabled which has
a parent (default lang) page that is hidden, users got a 403
error, because the preview flag was not set (as the page itself
was not hidden).

Change the check to always check both the default language and
the overlay for setting the preview flag.

Resolves: #20873
Resolves: #92775
Releases: main, 12.4
Change-Id: I438e772ee34cdb018cf4701878c18684a2fa3e03
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79813


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent cdc94f10
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment