b13 / menus

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

cacheHelper must respect preview visibility #61

Closed bommelpeter closed 2 years ago

bommelpeter commented 3 years ago

The visibility aspect must be taken into account to prevent (A) delivering hidden pages from cache or (B) enable admPanel preview of hidden pages (showHiddenPages).

Until then, b13/menus is (at least) broken/incompatible with Admin Panel's "showHiddenPages" feature: If visiting a site with showHiddenPages=1, either (A) b13/menus may deliver hidden pages without backend login (if b13/menus' data not yet cached) or (B) "showHiddenPages" isn't respected (if b13/menus' data already cached)

Possible solutions:

bmack commented 2 years ago

Fixed with https://github.com/b13/menus/commit/052c3aa6d8f3727cb047565c9cf50fbd3e4c42f9