[TYPO3-core] RFC: #8280 "Broken rootline" error when creating new page in Draft

Tobias Liebig mail_typo3.org at etobi.de
Tue Oct 5 21:08:34 CEST 2010


REMINDER #2


> Tobias Liebig <mail_typo3 at etobi.de> schrieb:
>  
>> REMINDER
>> 
>> Am 24.11.09 16:14, schrieb Tobias Liebig:
>>> ...
>>>
>>> Case 1) Edit a page in Draft workspace
>>> This is fixed by the patch
>>> The Problem was that the $ws was not set correctly
>>>
>>> ...
>>>
>>> For Case 1: patch is pending in core list. This is the "REMINDER"
>> 
>> Even though this is pretty old, this is still valid, so i created new 
>> patches (attached).
>> 
>> regards
>>     tobias
>> 
>> Index: typo3/sysext/cms/tslib/class.tslib_fe.php
> ===================================================================
> --- typo3/sysext/cms/tslib/class.tslib_fe.php (revision 8773)
> +++ typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
> @@ -4365,7 +4365,7 @@
>   function whichWorkspace($returnTitle = FALSE) {
>    if ($this->doWorkspacePreview()) {
>     $ws = intval($this->workspacePreview);
> -  } elseif ($this->beUserLogin) {
> +  } elseif ($GLOBALS['BE_USER'] && $GLOBALS['BE_USER']->workspace) {
>     $ws = $GLOBALS['BE_USER']->workspace;
>    } else return FALSE;
>  
> 



More information about the TYPO3-team-core mailing list