[TYPO3-core] RFC #12506: Bug: JSMENU does not respect mount point overlays

Joerg Wagner [DigiLog] news.netfielders.de at digilog.de
Thu Nov 19 11:06:52 CET 2009


Please find attached a revised version of my patch.
Reasons why this correction was necessary can be found in the 
corresponding bug report at http://bugs.typo3.org/view.php?id=12506
Additionally the 4.3 patch is raised from beta to RC1.

Cheers, Jörg.

Joerg Wagner [DigiLog] schrieb am 08.11.2009 19:17:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12506
> 
> Branches:
> TYPO3_4-2 & trunk
> TYPO3_4-3 & trunk
> 
> Problem:
> 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, JSMENU creates a wrong link for this page (the "&MP=" 
> variable in the query string is completely missing).
> 
> Solution:
> 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) adds the needed code for MP overlays. It is thoroughly 
> tested in a bunch of JSMENU configurations and a life system.
> 
> Cheers, Jörg.
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch4.3.0RC1_jsmenu_mpovl_V2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091119/3cb7a3c9/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch4.2.10_jsmenu_mpovl_V2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091119/3cb7a3c9/attachment.txt>


More information about the TYPO3-team-core mailing list