Project

General

Profile

Actions

Bug #103017

open

MenuProcessor is not showing access restricted pages, when all subpages are access restricted

Added by Sabrina Zwirner 3 months ago. Updated 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2024-02-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
MenuProcessor, showAccessRestrictedPages
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,
I user the MenuProcessor to generate a menu that shows also access restricted pages.
Code looks like this:

 11 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
            11 {
                levels = 3
                includeSpacer = 1
                as = mainNavigation
                showAccessRestrictedPages = 1

                dataProcessing {
                    10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
                    10 {
                        references.fieldName = media
                        as = navIcon
                    }
                }
            }

Now I have a Page "Products & Materials" that is not protected.
This page has two Subpages: "Shop" and "Materials", that are access protected.

The Menu is rendering "Products & Materials" but does not show the childrens "Shop" and "Materials".

As soon as I add at least one subpage that is not access protected,
all children will get rendered as they should.

Actions #1

Updated by Oliver Schmidt 2 months ago

I have the same issue. A fix would be nice.

Actions

Also available in: Atom PDF