Actions
Bug #21494
closedJSMENU does not respect mount point overlays
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
Actions