Page hidden in workspace does not display in LIVE preview
|Priority:||Should have||Due date:|
|Target version:||Core - 4.6.0|
|TYPO3 Version:||4.5||PHP Version:|
When a page is hidden in a workspace and you preview that page, you get a 404 error for both the LIVE and the workspace version. This is correct for the workspace version, but not for the LIVE one.
Updated by Tolleiv Nietsch almost 2 years ago
- File v1.patch added
- Target version set to 4.6.0
- TYPO3 Version set to 4.5
Well I guess I found the reason - the redirect happens when the bootstrap tries to determine the id the first time and that happens in a WS-Preview mode - but the redirect (default error handling mode) prevents that it's actually rendered in the live mode.
A patch could look like the attached one - but atm. I'd have to test longer to be sure this doesn't break anything else.
Especially the "!$BE_USER->extPageReadAccess($TSFE->page)" is broken with the patch - but I can't think of a situation where this was required because imho the redirect would always avoid that we reach this point....
Updated by Riccardo De Contardi about 1 month ago
It seems to work in TYPO3 6.1... this is the procedure followed
1) create a page in custom workspace
2) hide it
3) page module > go to page > click on preview
The preview mode with the "split screen" works... the page is visible; if I go to the parent page and use the slider, I can even see that the menu where the page was linked changes between live/draft version.
Is it correct?