[BUGFIX] Re-enable menu configuration caching 02/35002/7
authorMartin Helmich <m.helmich@mittwald.de>
Wed, 3 Dec 2014 17:00:40 +0000 (18:00 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 10 Mar 2015 18:52:44 +0000 (19:52 +0100)
commit687b26571b73c075c8e0d075a16d3ae647374202
tree52f5e14a4bfa0f45bac6291aee72329695ff8a67
parentfd1fddaf7ee607c2688722ec216944d723166235
[BUGFIX] Re-enable menu configuration caching

It is ensured that the menu configuration is always an array.

The PageRepository::getHash() method is extended to return the
raw cache content. This allows to cache empty arrays.

Change-Id: If92c80feabb8e68b66497827667b9fd0ab1c214e
Resolves: #63550
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35002
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Arjen Hoekema <arjenhoekema@gmail.com>
Tested-by: Arjen Hoekema <arjenhoekema@gmail.com>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/GraphicalMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/ImageMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php