Project

General

Profile

Actions

Bug #81337

closed

Double MountPoints went wrong

Added by Michael Binder almost 7 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2017-05-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
MountPoint, MenĂ¼
Complexity:
Is Regression:
Sprint Focus:

Description

I have some double MountPoints, by an initial click on a Page with a double MountPoint it's all right and the Link works fine but the other Links in the Menue lost the second MountPoint.

My Pagetree looks like:


+ root
+ + PAGE 1
+ + + PAGE 2
+ + + + PAGE 3
+ + + + PAGE 4
+ + + + PAGE 5
+ + PAGE 6
+ + + PAGE 7 (MountPoint to Page 3)
+ + + PAGE 8 (MountPoint to Page 4)
+ + + PAGE 9 (MountPoint to Page 5)
+ + + PAGE 10
+ + PAGE 11
+ + + PAGE 12 (MountPoint to Page 6)

The generated menue looks like:


+ root
+ + PAGE 1
+ + + PAGE 2
+ + + + PAGE 3
+ + + + PAGE 4
+ + + + PAGE 5
+ + PAGE 6
+ + + PAGE 3 (MP -> index.php?id=3&L=0&MP=3-7)
+ + + PAGE 4 (MP -> index.php?id=4&L=0&MP=4-8)
+ + + PAGE 5 (MP -> index.php?id=5&L=0&MP=5-9)
+ + + PAGE 10 
+ + PAGE 11
+ + + PAGE 6 (MP -> index.php?id=6&L=0&MP=6-12)
+ + + + PAGE 3 (MP -> index.php?id=3&L=0&MP=6-12,3-7)
+ + + + PAGE 4 (MP -> index.php?id=4&L=0&MP=6-12,4-8)
+ + + + PAGE 5 (MP -> index.php?id=5&L=0&MP=6-12,5-9)
+ + + + PAGE 10 (MP-> index.php?id=10&L=0&MP=6-12)

e.G. if i click on a Link with a double MountPoint (index.php?id=3&L=0&MP=6-12,3-7) all is ok, but the other Links lost the last MountPoint and looks like index.php?id=4&L=0&MP=6-12 or index.php?id=5&L=0&MP=6-12

I've testet this Setup in the following Systems
- TYPO3 6.2.31 with PHP 5.6.29
- TYPO3 7.6.18 with PHP 7.0.15
- TYPO3 8.7.1 with PHP 7.0.15


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #81251: Upon redirect of an overlaid mount point the mount point parameters get lostClosed2017-05-18

Actions
Actions #1

Updated by Elmar Hinz almost 7 years ago

e.G. if i click on a Link with a double MountPoint (index.php?id=3&L=0&MP=6-12,3-7) all is ok, but the other Links lost the last MountPoint and looks like index.php?id=4&L=0&MP=6-12 or index.php?id=5&L=0&MP=6-12

The description is a bit ambiguous in this part.

1.) Please provide a maping [link->redirect] for each of the mp links, when you click it.
2.) Please give information, if the mount points are in overlay mode. (looks like)

Also see: https://review.typo3.org/#/c/52829/

Actions #2

Updated by Elmar Hinz almost 7 years ago

  • Related to Bug #81251: Upon redirect of an overlaid mount point the mount point parameters get lost added
Actions #3

Updated by Michael Binder almost 7 years ago

1.) Ok I'll try. When I clicked the link "index.php?id=3&L=0&MP=6-12,3-7 ", this is the code that I get

[...]
+ + PAGE 11
+ + + PAGE 6 (index.php?id=6&L=0&MP=6-12 -> all fine)
+ + + + PAGE 3 (index.php?id=3&L=0&MP=6-12,3-7 -> active Link) 
+ + + + PAGE 4 (index.php?id=4&L=0&MP=6-12 -> Missing MountPoint 4-8)
+ + + + PAGE 5 (index.php?id=5&L=0&MP=6-12  -> Missing MountPoint 5-9)
+ + + + PAGE 10 (index.php?id=10&L=0&MP=6-12 -> all fine)

2.) Not shure, how can i check this?

Actions #4

Updated by Elmar Hinz almost 7 years ago

  • What is the URL of the first page, the page with fully working menus?
  • When you clicked the link "index.php?id=3&L=0&MP=6-12,3-7 ", the broken menu you see on the second page?
  • The URL of the second page is "index.php?id=3&L=0&MP=6-12,3-7 " (no redirect)?

Is first and second cache related?

  • Is it the first page after clearing the caches?
  • What happens if you call 'index.php?id=3&L=0&MP=6-12,3-7' as first page after clearing the caches?
Actions #5

Updated by Benni Mack over 4 years ago

  • Status changed from New to Needs Feedback

Hey Michael,

the ugly part is the TypoScript option https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Setup/Config/Index.html#mp-disabletypolinkclosestmpvalue

I think you need to disable it, in order to get values you'd expect, and work with static mount point mappings instead https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Setup/Config/Index.html#mp-defaults.

Actions #6

Updated by Susanne Moog about 4 years ago

  • Category set to Link Handling, Site Handling & Routing
Actions #7

Updated by Benni Mack almost 4 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF