Review TYPO3_6-2 Merged

38159[BUGFIX] Performance issue with caching empty text menus

Oliver Hader CR +2 V +2 Easy +1 −0 updated 03/25/15, 12:20

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1