New page in workspace doesn't load content elements in preview
When I create a new page in a workspace and put some content elements on that page, I can't preview the page properly, because no content element is loaded in frontend. If the page itself gets published, previewing the page is possible again.
Tested with 8.7.17
[BUGFIX] Set constraints in `FrontendRestrictionContainer` depending on workspace context
The `FrontendRestrictionContainer` must not respect the hidden flag, if
the request happens in a workspace context. The reason is that for
example pages that are created in a workspace have a hidden LIVE version,
which makes overlaying impossible.
This patch changes the behavior to act the same as
Releases: master, 8.7
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Sebastian Michaelsen <firstname.lastname@example.org>
Tested-by: Sebastian Michaelsen <email@example.com>
Reviewed-by: Frank Naegler <firstname.lastname@example.org>
Tested-by: Frank Naegler <email@example.com>
#2 Updated by Andreas Fernandez 12 months ago
New finding: a page that is created in the workspace has a "hidden" flag set in LIVE. If the page is also set to "hidden" in the workspace, previewing is possible again. Seems there is something wrong in TypoScriptFrontendController::determineIdIsHiddenPage().
#19 Updated by Riccardo De Contardi 4 months ago
- Status changed from Accepted to Closed
I close this issue as a duplicate of #82462 please continue the discussion there. Thank you.
A reference to this issue has been created to keep track of it.
If you think that this is the wrong decision please reopen it or ping me.