#89472MenuProcessor showing "hidden" pages in 9.5.10
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
}Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 8
-
Martin Weymayer commented 10/21/19, 19:07
-
Martin Weymayer commented 10/22/19, 10:12
Bug seems from frontend editing extension https://github.com/FriendsOfTYPO3/frontend_editing/issues/380
-
Susanne Moog commented and changed status
NewNeeds Feedback 10/22/19, 10:13I 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.
-
Felix Nagel commented 12/20/19, 15:41
I’m able to reproduce this when the calling page is hidden. TYPO3 9.5.13.
-
Christian Eßl commented 03/05/20, 07:35
@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. -
Felix Nagel commented 03/05/20, 11:35
@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.
-
Susanne Moog commented and changed status
Needs FeedbackClosed 03/26/20, 11:46This 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.
-
Jonas Eberle commented 04/26/20, 18:05
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.
In data array in debug hidden menu is showing “hidden = 1”. This pages must not be in array for menu in frontend.
Martin