Bug #17047
closedLinks get wrong MP parameters when two domains share a mounted page tree
0%
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)