Skip to content
Snippets Groups Projects
Commit 2f9d1470 authored by Benni Mack's avatar Benni Mack
Browse files

[BUGFIX] Fix HMENU special=directory when site language is in free mode

When setting a site language into free mode for translations, then
"$cObj->exec_getQuery()" only returns the pages without overlays.
HMENU however always expects sys_language_uid=0 records, as it does a
MountPoint + overlay again. Doing an getPageOverlay of a translated page
results in an empty result.

The change now modifies the HMENU directory resolving
to fetch the original record (cached in PageRepository), and do
the overlay information as well.

This also fixes the same issue in HMENU.special = updated

Big Kudos to Jones for great support on tackling this issue!

Resolves: #91292
Releases: master, 9.5
Change-Id: Ifc0faddb6562c2b83dc95aa84ed40f37b5a1a0e9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64436


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarJonas Temmen <jonas.temmen@artundweise.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarJonas Temmen <jonas.temmen@artundweise.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 0fb9702c
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment