Bug #19379
closedMountpoint var ignored when a "Shortcut page" is in the rootline
0%
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)