Project

General

Profile

Actions

Bug #17047

closed

Links get wrong MP parameters when two domains share a mounted page tree

Added by Michael Gotzen over 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-02-27
Due date:
% Done:

0%

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

Description

I´ve got a page tree with two domains and a mounted page tree that should be included into the branches of the two domains. Therefore I´ve chosen the page property type Mount Point which shows the expected results within the menu but doesn´t work correctly for manually created links.

TypoScript in setup of Root Page:
config.MP_mapRootPoints = root

My page tree looks like this:

Root Page (id 1) |_ Domain 1 (id 2) |_ Page 1-A (id 3) |_ Page 1-B (id 4)[MP -> Mounted Tree] |_ Page 1-C (id 5)

|_ Domain 2 (id 6)
  |_ Page 2-A (id 7)
  |_ Page 2-B (id 8)[MP -> Mounted Tree]
  |_ Page 2-C (id 9)
|_ Mounted Tree (id 10)
  |_ Page MT-A (id 11)
  |_ Page MT-B (id 12)
  |_ Page MT-C (id 13)

HMENU works fine and the URLs within the menu have the right MP parameters. If I call for example 'Page MT-A (id 11)' alternatively through Domain 1 or Domain 2 the resulting URLs look like this:
1. http://Domain1/index.php?id=11&MP=10-4
2. http://Domain2/index.php?id=11&MP=10-8

The problem is that a manually created link (htmlArea RTE) gets wrong MP parameters, if it is placed within the branch that contains the second Mount Point. In this case the link gets the parameters from the branch with first Mount Point:
http://Domain2/index.php?id=11&MP=10-4 (wrong)

Inside the branch with the first Mount Point the link would get the right MP parameters:
http://Domain1/index.php?id=11&MP=10-4 (correct)

I have tested this with TYPO3 4.02 and 4.1RC2, PHP 4.4.4 and PHP5.2.0.
The problem seems to be independend of domain records and shows the same behaviour, if there is only one or no domain record for the whole page tree.
(issue imported from #M5079)


Related issues 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF