Bug #91901
Updated by Christian Kuhn over 3 years ago
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
-> When previewing that page from within the backend ("show" button):
* 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
Next:
* Switch to workspace
* Enable/unhide the page
* Enable/unhide the content element
-> When previewing that page from within the backend via ("show" button), workspace preview with slider is rendered:
* 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.