#16472Non accessible Page And PageNotFound Handler.
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
- TYPO3_6-1 29897[BUGFIX] Inaccessible pages on shortcuts/PageNotFound handler
- main 21390[BUGFIX] Inaccessible pages on shortcuts/PageNotFound handler
- TYPO3_4-7 16361[BUGFIX] Fix problem with non accessible pages and PageNotFound handler.
- TYPO3_4-5 16359[BUGFIX] Fix problem with non accessible pages and PageNotFound handler.
- TYPO3_4-6 16360[BUGFIX] Fix problem with non accessible pages and PageNotFound handler.