Project

General

Profile

Actions

Bug #67082

closed

TMENU Userfunc ( (itemArrayProcFunc, IProcFunc) not cached

Added by Peter Linzenkirchner almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2015-05-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

Userfunc in TMENU (itemArrayProcFunc, IProcFunc)
Typoscript: http://pastebin.com/kAHTJA4V
All caches disabled (config.no_cache = 1)

Use-Case:
Menu of an projects extension - every menu item = category of the extension. 2 menu levels (see file 1 for correct output, file 2 for missing categories from userfunc)

problem:
- the menu worked in TYPO3 4.5, with and without cache
- in TYPO3 6.2 the menu works only when the user is logged in the backend
- or after deleting the system cache in the backend for exactly one hit. There is no difference if the cache is disabled or not).
- in contrary to the menu the projects extension output works all the time
- the extension itself works correct when the cache is activated (the cHash is appended correctly)

Conclusion:
It seems that the menu is cached in the system cache (or menu cache) but without the result of the user funcs.


Files

Bildschirmfoto 2015-05-21 um 13.27.41.png (12.5 KB) Bildschirmfoto 2015-05-21 um 13.27.41.png correct output (only first hit after deleting system cache) Peter Linzenkirchner, 2015-05-21 13:40
Bildschirmfoto 2015-05-21 um 13.28.20.png (7.26 KB) Bildschirmfoto 2015-05-21 um 13.28.20.png incorrect output (after first hit) Peter Linzenkirchner, 2015-05-21 13:40
Actions

Also available in: Atom PDF