Project

General

Profile

Actions

Bug #16472

closed

Non accessible Page And PageNotFound Handler.

Added by Alexander Opitz over 18 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2006-08-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
3.8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Files

class.tslib_fe.php.1.diff (1.61 KB) class.tslib_fe.php.1.diff Administrator Admin, 2010-05-04 09:29

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #23178: Wrong HTTP headers sent when trying to access pages that require loginClosedMarkus Klein2010-07-14

Actions
Related to TYPO3 Core - Bug #32304: pageNotFound_handling target does not handle shortcutsClosed2011-12-05

Actions
Related to TYPO3 Core - Bug #58728: Regression: unaccessible protected section with shortcut in rootlineClosed2014-05-12

Actions
Actions

Also available in: Atom PDF