Issue Bug Closed

#66023Performance issue with caching empty text menus

Oliver Hader 03/25/15, 13:10 updated 10/02/18, 11:45

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.

Reviews 1