Project

General

Profile

Actions

Bug #19379

closed

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

Added by Popy no-lastname-given over 15 years ago. Updated over 10 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 #1

Updated by Xavier Perseguers about 12 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.

Actions #2

Updated by Popy no-lastname-given about 12 years ago

This patch can't solve this bug : it's related to link generation, not rootline building

Actions #3

Updated by Alexander Opitz almost 11 years ago

This sounds like #17537 so can we close this as duplicate?

Actions #4

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF