Project

General

Profile

Actions

Bug #19379

closed

Mountpoint var ignored when a "Shortcut page" is in the rootline

Added by Popy no-lastname-given about 16 years ago. Updated about 11 years ago.

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

0%

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

Description

class.tslib_fe.php / TYPO 4.1.7 / Line 957 :

// Is the ID a link to another page??
if ($this->page['doktype']==4) {
$this->MP = ''; // We need to clear MP if the page is a shortcut. Reason is if the short cut goes to another page, then we LEAVE the rootline which the MP expects.
$this->page = $this->getPageShortcut($this->page['shortcut'],$this->page['shortcut_mode'],$this->page['uid']);
$this->id = $this->page['uid'];
}

The bug comes from $this->MP = ''; : it erase the mount point information, then the t3lib_pageselect is unable to build the correct rootline when a simple mount point is used (I mean non overlayed

From my point of view, erasing MP vars in case of shorcut should be the responsabilitie of the getPageShortcut function, which will erase the value only if no shortcut_mode is used (If it is really necessary to erase it, and I'm not sure of it !)

(issue imported from #M9433)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17537: Shortcuts within mounted trees lose MP-ParameterClosed2007-08-16

Actions
Related to TYPO3 Core - Bug #32938: Link to mounted shortcut page lacks &MP parameterClosedXavier Perseguers2012-01-03

Actions
Actions

Also available in: Atom PDF