Bug #89472
closedMenuProcessor showing "hidden" pages in 9.5.10
0%
Description
After upgrading from 9.5.8 to 9.5.10 I have found bug, that TYPO3 is showing pages which are hidden im backend:
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
10 {
special = directory
special.value = 1
levels = 6
includeSpacer = 0
titleField = nav_title // title
as = mainmenu
}
Updated by Martin Weymayer about 5 years ago
In data array in debug hidden menu is showing "hidden = 1". This pages must not be in array for menu in frontend.
Martin
Updated by Martin Weymayer about 5 years ago
Bug seems from frontend editing extension https://github.com/FriendsOfTYPO3/frontend_editing/issues/380
Updated by Susanne Moog about 5 years ago
- Status changed from New to Needs Feedback
I cannot reproduce this issue: In the "normal" state hidden pages are not shown - however, once I enable "show hidden pages" in the admin panel I also get hidden pages, if I disable that again, everything is back to hidden.
Updated by Felix Nagel almost 5 years ago
I'm able to reproduce this when the calling page is hidden. TYPO3 9.5.13.
Updated by Christian Eßl over 4 years ago
@Felix Nagel:
Do you mean when the requested page is the hidden one? That's ok, if you are logged into the backend.- Then a "preview" mode will be triggered, where you can still open a hidden page in the frontend. If you are not logged into the backend, the hidden page should still be inaccessible.
Updated by Felix Nagel over 4 years ago
@Christian Yes, the requested one is hidden. I don't think showing hidden pages when logged in is wanted behavior, especially not if its a behavior change in a patch level update.
Updated by Susanne Moog over 4 years ago
- Status changed from Needs Feedback to Closed
This is actually a bugfix in a minor version. In earlier TYPO3 versions the behaviour was the same, however, in the v9 cycle stuff broke. Fixing it reverted to the old behaviour - which means that once you preview a page that is access restricted or hidden the according preview settings are set automatically. If you preview a hidden page, you can see other hidden pages - as we cannot decide case by case what should be shown. One of the most common use cases is preparing a few new pages at the same time (or adding a page branch) - all hidden, all previewed at the same time.
You can use the admin panel to overwrite these settings (show hidden pages, show hidden content) - however, opening a hidden page from the backend will trigger the preview as you (with that click) clearly communicate your intention to preview that page.
I'm going to close this issue here, as the behaviour is the wanted one. Please comment or open a Feature request with a description of a more modular previewing approach.
Updated by Jonas Eberle over 4 years ago
Felix Nagel wrote:
I'm able to reproduce this when the calling page is hidden. TYPO3 9.5.13.
Yes, me too (v9 + v10).
calling page | linked page | shown? —————————————+—————————————+———————— shown | hidden | n shown | shown | y hidden | hidden | y hidden | shown | y
It's a bit weird but it is a) only for Backend-Users and b) I would not expect Menus to be correct when I am on a "Preview-Page".
It might even be intentional - you could see other pages that you plan to publish soon, too.
So I would close.