[TYPO3-workspace] FYI: #10693 - Save and view command previews wrong page record
Steffen Ritter
info at rs-websystems.de
Wed Nov 24 20:39:14 CET 2010
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
shouldnt this one go to the core list?
More information about the TYPO3-team-workspace
mailing list