[TYPO3-workspace] RFC: #10693 - Save and view command previews wrong page record

Tolleiv.Nietsch info at tolleiv.de
Wed Nov 24 20:12:51 CET 2010


Ups sry bad habit - choose the wrong title- its a RFC not a FYI ;)

Am 24.11.2010 20:11, schrieb Tolleiv.Nietsch:
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://forge.typo3.org/issues/10693
>
> Branches:
> trunk
>
> Problem:
> When using the "Save and view" functionality for a workspace version of
> a page record the generated previewUrl points to that workspace-version
> which results in errors during the preview.
>
> Solution:
> The attached patch adjusts the viewOnClick-hook and adjusts the passed
> $pageUid in case a uid of a workspace-version is passed to the function.
>
> Additional information:
> Within t3lib_beFunc::viewOnClick two other functions
> (t3lib_pageSelect::getMountpointInfo(), t3lib_beFunc::getViewDomain())
> use the $pageUid after we processed it. After my review & test I found
> that both also rely on getting live uids so this change is imho valid
> for them too.
>
> Cheers,
> Tolleiv


-- 
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
Twitter: http://www.twitter.com/tolleiv


More information about the TYPO3-team-workspace mailing list