Issue Bug Closed

#21832HMENU does not generate correct links for mount points with "substitute mount point"

Volkmar Lecke 12/10/09, 06:49 updated 05/28/15, 16:08

Description

In this Mount Point Scenario:

+ Start
+- Page A
+— Page A1
+—- [2180] Mount Point A1a —> 2051
+- SysFolder B
+— [2051] Page B1
+—- Page B1a

Page A1a (id=2180) is set as a Mount Point which points to Page B1 (id=2051).
Checkbox “Substitute Mount Point (this page) with Mounted page” is set.

The correct address for the page A1a is now
index.php?id=2051&MP=2051-2180
displaying the contents of B12051 in the rootline of A1a2180

However, HMENU with special=directory of subpages for Page A1
produces this address
index.php?id=2180
Calling this address of course produces this error:
“The requested page didn’t have a proper connection to the tree-root!
(Illegal Mount Point found in rootline)”

HMENU works fine when the correct address
index.php?id=2051&MP=2051-2180
is being called explicitely and when subpages of Page B1 are generated.
Going up the rootline to Page A1, displaying its subpages, reproduces the bug.

I am not sure if this is a TemplaVoila issue. The bug appeared in a TemplaVoila environment.
(issue imported from #M12995)

Reviews 0

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