Project

General

Profile

Actions

Bug #17047

closed

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

Added by Michael Gotzen about 17 years ago. Updated over 10 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 #1

Updated by Michael Gotzen about 17 years ago

I found the following solution:
In a multi site setup Mount Points will work for manually created links only, if each site has a template which is marked as Rootlevel.

In contrast to manully created links HMENU worked fine without separating each site with a Rootlevel template.

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

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