Bug #13487

Page hidden in workspace does not display in LIVE preview

Added by Francois Suter over 2 years ago. Updated about 1 month ago.

Status:Accepted Start date:2011-03-01
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Bugs
Target version:Core - 4.6.0
TYPO3 Version:4.5 PHP Version:
Votes: 0

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.

v1.patch (1.4 kB) Tolleiv Nietsch, 2011-08-30 00:01

History

Updated by Tolleiv Nietsch over 2 years ago

  • Status changed from New to Accepted

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?

Also available in: Atom PDF