Bug #81337
closedDouble MountPoints went wrong
0%
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
Updated by Elmar Hinz about 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/
Updated by Elmar Hinz about 7 years ago
- Related to Bug #81251: Upon redirect of an overlaid mount point the mount point parameters get lost added
Updated by Michael Binder about 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?
Updated by Elmar Hinz about 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?
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.
Updated by Susanne Moog over 4 years ago
- Category set to Site Handling, Site Sets & Routing
Updated by Benni Mack about 4 years ago
- Status changed from Needs Feedback to Closed