b13 / menus

TYPO3 Extension for creating fast menus in a fast fashion
GNU General Public License v2.0
54 stars 22 forks source link

Hidden pages without link in cache #65

Closed pnoreck closed 2 years ago

pnoreck commented 2 years ago

We have the problem that our customer uses in TYPO3 11.5 the preview feature to get a preview of his hidden pages. The TreeMenu generates for the preview the menu with hidden pages and everything looks fine.

[Page 1] [Page 2] [Page 3] [Page 4 (hidden)]

But at the same time it also generates the cache for the regular user and adds the hidden pages to the menu too but without links.

[Page 1] [Page 2] [Page 3] Page 4 (hidden)

(The missing brackets should represent the missing link) ;o)

This is easily reproducible with the admin panel -> show hidden pages.

steffenf14 commented 2 years ago

We experience the same problem. Clearing cache helps but after a while they reappear.

bmack commented 2 years ago

Solution is to also include the Visibility Aspect flags into the cache.

achimfritz commented 2 years ago

hm, solution should be not caching preview pages (as in workspaces) ( @bmack ?)