[BUGFIX] Re-enable target attribute for links in menus 92/60292/2
authorBenni Mack <benni@typo3.org>
Sun, 17 Mar 2019 11:10:09 +0000 (12:10 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 22 Mar 2019 20:42:33 +0000 (21:42 +0100)
commit4de8b53c9b94d71479e1fb3617281a1cb107c07c
tree1440dbc879a0d89a6ea1c82b8ae65a80bca0f72b
parent4f0e3b5dcb2d7dbe9463870f92321c34c63022f3
[BUGFIX] Re-enable target attribute for links in menus

The new pagelink builder does not set the lastTypoLinkLD options
which is used in HMENUs. The patch properly sets
the lastTypoLink* properties of ContentObjectRenderer in typolink
again, making target overrides in menus work again.

Resolves: #87130
Releases: master, 9.5
Change-Id: Ia284e546179dfaec8ec8ecb86a36d38f3b81aad8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60292
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php