Bug #13487
closed
Page hidden in workspace does not display in LIVE preview
Added by Francois Suter over 13 years ago.
Updated over 7 years ago.
Description
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.
Files
- Status changed from New to Accepted
- File v1.patch 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....
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?
- Category changed from Bugs to Workspaces
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
- Target version changed from 4.6.0 to 7.5
- Target version changed from 7.5 to 7 LTS
- Target version deleted (
7 LTS)
- Status changed from Accepted to Closed
- Is Regression set to No
i think that has been resolved with #66451
Also available in: Atom
PDF