[BUGFIX] FormArrayUtility not found 93/50993/2
authorOliver Hader <oliver@typo3.org>
Sun, 18 Dec 2016 10:20:23 +0000 (11:20 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Sun, 18 Dec 2016 12:56:09 +0000 (13:56 +0100)
The FormArrayUtility of EXT:form cannot be found and
results in a PHP fatal error. Reason for that is the
ArrayUtility cleanup in issue #77732.

Change-Id: Iaa4ad928e664a56aac2d71ed39faecbb67e38864
Resolves: #79022
Releases: master
Reviewed-on: https://review.typo3.org/50993
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php
typo3/sysext/form/Classes/Mvc/Configuration/YamlSource.php

index dcc1d7d..295f5fb 100644 (file)
@@ -236,7 +236,7 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess
             return;
         }
 
-        FormArrayUtility::assertAllArrayKeysAreValid($renderingOptions['honeypot'], ['enable', 'formElementToUse']);
+        ArrayUtility::assertAllArrayKeysAreValid($renderingOptions['honeypot'], ['enable', 'formElementToUse']);
 
         if (!$this->isFirstRequest()) {
             $elementsCount = count($this->lastDisplayedPage->getElements());
@@ -263,7 +263,7 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess
             return;
         }
 
-        FormArrayUtility::assertAllArrayKeysAreValid($renderingOptions['honeypot'], ['enable', 'formElementToUse']);
+        ArrayUtility::assertAllArrayKeysAreValid($renderingOptions['honeypot'], ['enable', 'formElementToUse']);
 
         if (!$this->isAfterLastPage()) {
             $elementsCount = count($this->currentPage->getElements());
index 608bf8a..abef2fc 100644 (file)
@@ -105,7 +105,7 @@ class YamlSource
             }
         }
 
-        $configuration = FormArrayUtility::convertBooleanStringsToBooleanRecursive($configuration);
+        $configuration = ArrayUtility::convertBooleanStringsToBooleanRecursive($configuration);
         return $configuration;
     }