Issue Bug New Orphaned

#103054Incorrect link generation for shortcut page containing mountpoint subpages

Jan Kornblum 02/05/24, 16:52 updated 02/05/24, 16:52

Description

Setting a page type to “shortcut” with “shortcut_mode = 1” (first subpage) and the first subpage type is type “mountpoint” with “mount_pid_ol = 1” (show mounted page) and the mounted page is within a foreign site (domain), the link (menu processor, typolink) generated for the shortcut itself incorrectly points to the mountpoint target page within the foreign site. Instead when setting “shortcut_mode = 0” and explicitly assign the mountpoint page, links are correctly generated.

- site1.domain.tld
—- Shortcut (shortcut_mode = 1) —-> wrongly resolves to “https://site2.domain.tld/Page
——— Mountpoint (mount_pid_ol = 1, mount_pid = 123)

- site2.domain.tld
—- Page (uid: 123)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Incorrect link generation for shortcut page containing mountpoint subpages Resolves: #103054 Releases: main