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

François Suter fsu-lists at cobweb.ch
Mon Nov 29 11:57:32 CET 2010


Hi,

> 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.

This worked as far as I could test, which was as an admin user and with 
pages both in default language and with translations. However I stumbled 
on problems when trying to use a non-admin user. See:

http://forge.typo3.org/issues/11126

I think this bug should be fixed, before #10693 can be satisfyingly tested.

> 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.

I agree with this.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-workspace mailing list