[BUGFIX] MenuProcessor doesn't accept necessary sub keys 61/54461/2
authorThorben Nissen <thorben.nissen@kapp-hamburg.de>
Thu, 19 Oct 2017 08:28:43 +0000 (10:28 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 20 Oct 2017 15:45:13 +0000 (17:45 +0200)
Adds subproperty keys for levels, expandAll, includeSpacer and
titleField to $allowedConfigurationKeys.
Adds the subproperty keys also $removeConfigurationKeysForHmenu.

Resolves: #82810
Releases: master, 8.7
Change-Id: Idd2e50b0b7a203ce0a0ecc490199bdf5305bef47
Reviewed-on: https://review.typo3.org/54461
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/frontend/Classes/DataProcessing/MenuProcessor.php

index b01851d..693b64a 100644 (file)
@@ -106,10 +106,14 @@ class MenuProcessor implements DataProcessorInterface
         'if',
         'if.',
         'levels',
+        'levels.',
         'expandAll',
+        'expandAll.',
         'includeSpacer',
+        'includeSpacer.',
         'as',
         'titleField',
+        'titleField.',
         'dataProcessing',
         'dataProcessing.'
     ];
@@ -122,10 +126,14 @@ class MenuProcessor implements DataProcessorInterface
      */
     public $removeConfigurationKeysForHmenu = [
         'levels',
+        'levels.',
         'expandAll',
+        'expandAll.',
         'includeSpacer',
+        'includeSpacer.',
         'as',
         'titleField',
+        'titleField.',
         'dataProcessing',
         'dataProcessing.'
     ];