[BUGFIX] Adjust FormEngine Default Configuration 91/43291/3
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 14 Sep 2015 10:35:52 +0000 (12:35 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 14 Sep 2015 10:53:31 +0000 (12:53 +0200)
Streamlines the configuration for FormEngine FormDataProvider.

Resolves: #69778
Releases: master
Change-Id: I1ee0f0942c209a57ccd817f8ec693fc1a9df6863
Reviewed-on: http://review.typo3.org/43291
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Configuration/DefaultConfiguration.php

index ed6fec4..0b70415 100644 (file)
@@ -278,7 +278,9 @@ return array(
                                'tcaDatabaseRecord' => array(
                                        \TYPO3\CMS\Backend\Form\FormDataProvider\ReturnUrl::class => array(),
                                        \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseEditRow::class => array(
-                                               \TYPO3\CMS\Backend\Form\FormDataProvider\ReturnUrl::class,
+                                               'depends' => array(
+                                                       \TYPO3\CMS\Backend\Form\FormDataProvider\ReturnUrl::class,
+                                               )
                                        ),
                                        \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseParentPageRow::class => array(
                                                'depends' => array(
@@ -288,7 +290,6 @@ return array(
                                        \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseUserPermissionCheck::class => array(
                                                'depends' => array(
                                                        \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseParentPageRow::class,
-                                                       \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseParentPageRow::class,
                                                ),
                                        ),
                                        \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseEffectivePid::class => array(
@@ -410,10 +411,6 @@ return array(
                                                        \TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfigMerged::class,
                                                        \TYPO3\CMS\Backend\Form\FormDataProvider\TcaTypesShowitem::class,
                                                ),
-                                               'before' => array(
-                                                       // GeneralUtility::getFlexFormDS() needs unchanged databaseRow values as string
-                                                       \TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectValues::class,
-                                               ),
                                        ),
                                        \TYPO3\CMS\Backend\Form\FormDataProvider\TcaRadioItems::class => array(
                                                'depends' => array(
@@ -438,6 +435,8 @@ return array(
                                        ),
                                        \TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectValues::class => array(
                                                'depends' => array(
+                                                       // GeneralUtility::getFlexFormDS() needs unchanged databaseRow values as string
+                                                       \TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlex::class,
                                                        \TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectItems::class,
                                                ),
                                        ),
@@ -448,8 +447,7 @@ return array(
                                        ),
                                ),
                                'flexFormSegment' => array(
-                                       \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultValues::class => array(
-                                       ),
+                                       \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultValues::class => array(),
                                        \TYPO3\CMS\Backend\Form\FormDataProvider\TcaGroup::class => array(
                                                'depends' => array(
                                                        \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultValues::class,