Issue Bug Closed

#58728Regression: unaccessible protected section with shortcut in rootline

Alexander Stehlik 05/12/14, 16:42 updated 10/02/18, 11:55

Description

The fix for #16472 introduced a regression when you have a shortcut in the rootline.

My rootline looks like this:

- Root page (is_siteroot flag is set here)
— Shortcut to Homepage
—- Homepage
—- Protected page (expand to subpages)
—— Protected Subpage

When I try to access any protected subpage I will always be redirected to the Hompage.

The reason for this seems to be the introduced recursive call to $this->getPageAndRootline() which will set the $this->originalShortcutPage class property which will end up in a redirection to the shortcut.

Reviews 0

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