[TASK] Fixing Extension Form Path 84/59384/2
authorPatrick Bloch <noreply@example.com>
Wed, 9 Jan 2019 13:20:33 +0000 (14:20 +0100)
committerJan Helke <typo3@helke.de>
Fri, 11 Jan 2019 08:32:27 +0000 (09:32 +0100)
The Files defined at allowedExtensionPaths are not shown

Releases: master
Resolves: #87376
Change-Id: I7dc96f8cea4a434ee2946482268a2dee8a0952ca
Reviewed-on: https://review.typo3.org/59384
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php

index bffa165..76f7717 100644 (file)
@@ -809,6 +809,6 @@ class FormPersistenceManager implements FormPersistenceManagerInterface
      */
     protected function looksLikeAFormDefinition(array $data): bool
     {
-        return isset($data['identifier'], $data['type']) && !empty($data['identifier']) && $data['type'] === 'Form';
+        return isset($data['identifier'], $data['type']) && !empty($data['identifier']) && trim($data['type']) === 'Form';
     }
 }