Workspace : no content show in preview, for a new page create in workspace, if this page is enable
Install a typo3 v8.7.6
1) configure an template like this
page = PAGE
page.10 < styles.content.get
2) Create a workspace and use it
3) create a new page "Test"
4) on this page create a content on column 0
5) enable the page
6) Preview page
In this case the content of column 0 will NOT be show.
7) Disable the test page
8) Preview page
In this case the content of column 0 will BE be show.
This only append with a page create in workspace. if the page exists in live, you can edit it in workspace the content appears whether the page is active or not
#3 Updated by Florian Rival 2 months ago
When working with workspaces, two pages are created with ID : X and X+1 but when the workspace page is updated (id x+1), the column hidden of the reference page (id x) is not updated. When we want to view this page, the process is looking for page content with page flag "hidden=0" but this page still has hidden flag set to 1 because it wasn't updated.
Here is a patch to update the hidden flag for reference page when workspace page is updated.