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)
Updated by Xavier Perseguers almost 13 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
Could you please test patch for #32938 and report here if it solves your bug? Thanks.
Updated by Popy no-lastname-given almost 13 years ago
This patch can't solve this bug : it's related to link generation, not rootline building
Updated by Alexander Opitz over 11 years ago
This sounds like #17537 so can we close this as duplicate?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.