Issue Bug Closed

#96078Shortcut Info-Message incorrect when page refers to frontend-restricted page

Markus Müller 11/25/21, 13:55 updated 01/17/22, 08:18

Description

The Page-Module shows a wrong error message (pageIsMisconfiguredOrNotAccessibleInternalLinkMessage) if you have a page with doctype “Shortcut” which refers to a restricted page (e.g. “show at any login”).

This behaviour occours because of the (imho incorrect) groupAccessCheck of PageRepository::getPage() in PageLayoutController::generateMessagesForCurrentPage() on line 402 and 411.

Reviews 0

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