#17599Frontend preview doesn't work for subpages of hidden and restricted pages
Description
Say you have the following page structure:
1
|--2
|--3
|--4
|--5
Page 2 is user restricted including the subpages and it is hidden.
Page 3 is neither hidden nor user restricted.
If you edit page 3 in the backend and then try to preview it in the frontend, you will see page 1 in the frontend.
If you hide page 3, you will see the preview in the frontend.
A preview of page 3 should be possible, even if it is not hidden.
(issue imported from #M6336)
Reviews 7
- 12.4 89054[BUGFIX] Fix preview with extendToSubpages
- 13.4 89053[BUGFIX] Fix preview with extendToSubpages
- main 88537[BUGFIX] Fix preview with extendToSubpages
- 12.4 81465[BUGFIX] Do not flush rootline cache when be user visits the website
- main 81484[BUGFIX] Do not flush rootline cache when be user visits the website
- 12.4 79856[BUGFIX] Check rootline for extendToSubpages when previewing
- main 79656[BUGFIX] Check rootline for extendToSubpages when previewing