[BUGFIX] Fix structure of generated finisher FlexForm fields 07/60607/2
authorMathias Brodala <mbrodala@pagemachine.de>
Sat, 27 Apr 2019 21:57:25 +0000 (23:57 +0200)
committerRalf Zimmermann <ralf.zimmermann@tritum.de>
Sun, 28 Apr 2019 08:58:01 +0000 (10:58 +0200)
A valid FlexForm field must have a "TCEforms" wrapper around
the field configuration as can be seen in the FlexFormTools
class.

Resolves: #88013
Releases: master
Change-Id: I986f4fdf6f32c7174b3967f75729bc1122d4fdbd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60607
Tested-by: Dominik Merkel <merkel.dominik@googlemail.com>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <look@susi.dev>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: Dominik Merkel <merkel.dominik@googlemail.com>
Reviewed-by: Susanne Moog <look@susi.dev>
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
typo3/sysext/form/Classes/Domain/Configuration/FlexformConfiguration/Processors/FinisherOptionGenerator.php

index 1a28cf2..418c0aa 100644 (file)
@@ -95,7 +95,7 @@ class FinisherOptionGenerator extends AbstractProcessor
         $elementConfiguration['config']['default'] = $optionValue;
 
         $sheetElements = $this->converterDto->getResult();
-        $sheetElements['settings.finishers.' . $finisherIdentifier . '.' . $optionKey] = $elementConfiguration;
+        $sheetElements['settings.finishers.' . $finisherIdentifier . '.' . $optionKey]['TCEforms'] = $elementConfiguration;
 
         $this->converterDto->setResult($sheetElements);
     }