Bug #66023
closedPerformance issue with caching empty text menus
100%
Description
If a text menu level is defined in TypoScript but does not return any pages, the result value is NULL instead of the expected empty array. Since the check whether to reprocess a menu expects an array, the generation process is triggered again, invalidates the cache entry and adds the very same NULL value to the cache.
The solution is to define a default empty array value for text menu levels.
Updated by Oliver Hader over 9 years ago
Has been solved in master already:
https://review.typo3.org/#/c/36584/5/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38159
Updated by Oliver Hader over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1f98368e6495e78c4c5dfefeb4ac343bdfa83458.