Issue Bug Closed

#16472Non accessible Page And PageNotFound Handler.

Alexander Opitz 08/15/06, 15:40 updated 10/02/18, 12:33

Description

If a Page in Tree isn’t accessible then the Variable pageNotFound is set. (To 1 if access rights are direct or 2 if access rights are from upper tree.)

The PageNotFound Handler reacts on that and goes to the 404 Page.

But that isn’t always the right way, cause the function getPageAndRootline() (class.tslib_fe.php) looks for a page in the rootLine that can be accessed and this page should be shown. But that function do not set pageNotFound back to zero.

This problem may be older then 3.8.0, I don’t know if the PageNotFound Handler reacts same way like in 3.8.x, the getPageAndRootline in class.tslib_fe.php is the same.
(issue imported from #M4047)

Reviews 5