Project

General

Profile

Actions

Bug #21494

closed

JSMENU does not respect mount point overlays

Added by Jörg Wagner almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
Start date:
2009-11-08
Due date:
% Done:

0%

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

Description

JSMENU calculates wrong links for its menu items if the link is an overlay mount point. So if the checkbox "Substitute Mount Point (this page) with Mounted page" is checked in the page properties of a mount point page, the JSMENU creates a wrong link (the "&MP=" variable in the query string is completely missing).

The algorithm for JSMENU link generation in /typo3/sysext/cms/tslib/class.tslib_menu.php only accounts for normal mount points (adding mounted children to a page) but completely ignores the possibility of overlay mount points. The attached patch (for 4.2.10 and 4.3.0beta2) is thoroughly tested in a bunch of JSMENU configurations.
(issue imported from #M12506)


Files

patch4.2.10_jsmenu_mpovl.diff (1.44 KB) patch4.2.10_jsmenu_mpovl.diff Administrator Admin, 2009-11-08 18:54
patch4.3.0beta2_jsmenu_mpovl.diff (1.44 KB) patch4.3.0beta2_jsmenu_mpovl.diff Administrator Admin, 2009-11-08 18:54
patch4.3.0RC1_jsmenu_mpovl_V2.diff (1.74 KB) patch4.3.0RC1_jsmenu_mpovl_V2.diff Administrator Admin, 2009-11-19 11:21
patch4.2.10_jsmenu_mpovl_V2.diff (1.74 KB) patch4.2.10_jsmenu_mpovl_V2.diff Administrator Admin, 2009-11-19 11:22
TS setup for testing.txt (1.44 KB) TS setup for testing.txt Administrator Admin, 2009-11-23 22:48
Actions

Also available in: Atom PDF