#87392Subpages of hidden pages with extendToSubpages activated cannot be accessed even with backend login
Description
Hidden pages can generally only be accessed with backend login (or the configuration of the admin panel will define the behaviour if it is activated).
If there is a page A with a subpage page B and page A is hidden then this does not affect page B. Page B can still be accessed without backend login.
But if page A also has extendToSubpages enabled then page B cannot be accessed even with backend login (404-handling will define what happens). The desired behaviour would be that it is possible to deactivate pages recursively with one action. Currently this is not possible.
page test: hidden=1, extendToSubpages=1 | -> page test2: hidden=0, extendToSubpages=0
how to reproduce it:
- create a page “test”, set it as “hidden”; set: “extendToSubpages” = 1
- create a subpage “test2” of “test”, set it as visible
- on the pagetree, click on “test2” > preview
Versions
(March 7, 2025):
- main (14.0.0-dev): not reproducible, ok!
- 13.4.6-dev: not reproducible, ok!
- 12.4.28-dev: not reproducible, ok!
originally tested and reproduced with:
- 9.5.3 : has bug
- 8.7.17 : has bug
- 8.7.21 : has bug
Reviews 1
Related issues 4
- Bug #28943Pages under 'extendtosubpages' access are not viewable in view module.
- Bug #93540It is not clear which options extendToSubpages in page properties aplies to
- Bug #104629403 for pages in FE if admin-panel active and non-admin user opens page with no permission in BE
- Bug #106336403 Page Not Found when previewing not hidden page of hidden parent, both with extendToSubpages=1