Skip to content
Snippets Groups Projects
Commit 93c15598 authored by Benni Mack's avatar Benni Mack
Browse files

[BUGFIX] Allow WS preview links to preview hidden pages

When a hidden page is previewed in the Backend,
the PreviewSimulator has a valid BE_USER object
in place. However, when a preview link is generated,
the PreviewUser does not have a group, thus the PreviewSimulator
is not activated.

For this reason, the check if the PreviewSimulator
is active, needs to consider if we are in an offline workspace

Resolves: #102216
Releases: main, 12.4
Change-Id: I95aadaad1de69ce6eed91acd82f4d42171a6500d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81499


Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent ce3f795d
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