Review main Merged

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

Benni Mack CR +2 V +2 Easy +16 −0 updated 05/11/20, 07:14

Commit message

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!

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1