#91901Workspaces: Inconsistent preview of live version if live page is hidden
Description
This is an extract of an edge case that came up with issue #67001:
Start:- Have a workspace on pid 0
- Create a page in live, set it to hidden
- Create a hidden content element on live
- With admin panel settings “show hidden pages” and “show hidden records” NOT selected (shift-reload preview if changing these settings to be sure): The page is shown but no content elements
- With admin panel settings “show hidden pages” and “show hidden records” selected (shift-reload preview if changing these settings to be sure): The page with the content element is shown
- Switch to workspace
- Enable/unhide the page
- Enable/unhide the content element
- With admin panel settings “show hidden pages” and “show hidden records” NOT selected (shift-reload preview if changing these settings to be sure) and slider set to “published version”: The live version shows “Page Not Found The page did not exist or was inaccessible. Reason: ID was not an accessible page”
- With admin panel settings “show hidden pages” and “show hidden records” selected (shift-reload preview if changing these settings to be sure) and slider set to “published version”: The live page with live content element is shown
—> There is an inconsistency that a hidden page is shown in preview in live even if “show hidden pages/records” is not selected, but in workspace preview the same setting shows an error message for the live version.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.