Project

General

Profile

Actions

Bug #88204

closed

Page Caching with restricted pages in page tree breaks menu

Added by Walter Sparding over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2019-04-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Using TYPO3 9.5.5 PHP 7.2.17

I have a multi-level-menu, which contains restricted pages for frontend-users.

The menu is always fine, until nobody is logged in.

If i logout as fe_user the menu breaks.

At the part of the menu, where the restricted page exists, it does a ul for the submenu, but the /ul is missing, and the restricted page is not in the menu. It seems, as TYPO3 somehow knows, there is a submenu, but then realizes, that the user (session?) is not logged in, and therefor may not see this page.

This gets more weird if i open 2 browsers with the same page one logged in, the other not. If i then clear all caches and reload in browser1 the menu is ok, but when reloading browser2 the menu is broken for browser2.

After struggling deeper and deeper, i found out that setting cache_hash of the cacheConfiguration to TYPO3\CMS\Core\Cache\Backend\NullBackend all is working right the way it should.

Setting back to default Cache TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend breaks the menu again.

IMHO that is not a error in TS of the menu, cause the menu is always right, when all caches are cleared.

Actions #1

Updated by Bastian Bringenberg over 5 years ago

  • Project changed from 9 to TYPO3 Core
  • TYPO3 Version set to 9
  • PHP Version set to 7.2

Moved Project

Actions #2

Updated by Susanne Moog over 4 years ago

  • Category set to Frontend
  • Status changed from New to Needs Feedback

Please provide your cache and TypoScript menu configuration to make it easier for us to reproduce the issue.

Actions #3

Updated by Riccardo De Contardi over 4 years ago

  • Status changed from Needs Feedback to Closed

No feedback since the last 90 days => closing this issue.

If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.

Thank you and best regards

Actions

Also available in: Atom PDF