Project

General

Profile

Actions

Bug #66023

closed

Performance issue with caching empty text menus

Added by Oliver Hader about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2015-03-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #63550: Menu configuration caching disabled by ineffective type checksClosed2014-12-03

Actions
Actions

Also available in: Atom PDF