Project

General

Profile

Actions

Bug #18722

closed

"Broken rootline" error when creating new page in Draft

Added by John Angel about 16 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-04-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When making new page in Draft Workspace using Wizard (New Record/Page(inside)/Click here for wizard), Typo3 always reports:

"Error: The requested page didn't have a proper connection to the tree-root! (Broken rootline)".

When not using Wizard (New Record/Page(inside)) this Error doesn't happen.

It seems the problem is in typo3/sysext/cms/tslib/class.tslib_fe.php:1050
$ws = $this->whichWorkspace();

Function whichWorkspace doesn't return correct $ws value because $this->beUserLogin == 0!?

This is quick workaround, but not the solution:
$ws = $GLOBALS['BE_USER']->workspace;

It should be investigated why $this->beUserLogin is zero.

(issue imported from #M8280)


Files

patch_8280_v42x_brokenRootline.diff (566 Bytes) patch_8280_v42x_brokenRootline.diff Administrator Admin, 2009-06-16 12:05
patch_8280_v43x_brokenRootline.diff (566 Bytes) patch_8280_v43x_brokenRootline.diff Administrator Admin, 2009-06-16 12:05

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21670: "Broken rootline" error when editing a title in a versioned pageClosed2009-11-24

Actions
Actions

Also available in: Atom PDF