[TASK] Extract flex form language handling to compatibility6 01/43601/4
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 27 Sep 2015 16:21:10 +0000 (18:21 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 30 Sep 2015 21:08:23 +0000 (23:08 +0200)
commit2571890c842703834296307f22deb2e930602519
tree4195a376a52710b48dae8c7cb041d8013256ab80
parent1deec2d43963c6cc136fa41c0df707959ef1acd6
[TASK] Extract flex form language handling to compatibility6

Flex form has its own localization handling that exists in parallel
to the record overlay based system. This was introduced together with
the TemplaVoila concept and is almost exclusively used in this context.
For details, the logic is described in the flex form section of
the "localization guide".

With the FormEngine refactoring it is now possible to extract most
parts of this language handling to ext:compatibility6. The patch
moves the current handling classes to compatibility6 and registers
them.

This extraction gives TemplaVoila and maybe other extensions the
opportunity to implement this handling on their own, compatibility6
can be used as a show case how that may be achieved.

As main benefit the classes in FormEngine are significantly
shorter, easier to understand and quite a few options can
be dropped.

Resolves: #70138
Releases: master
Change-Id: Ia2c4b8b329702b895b9183f835423c2d27b7c74a
Reviewed-on: http://review.typo3.org/43601
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
28 files changed:
typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php
typo3/sysext/backend/Classes/Form/Container/FlexFormEntryContainer.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Form/Container/FlexFormLanguageContainer.php [deleted file]
typo3/sysext/backend/Classes/Form/Container/FlexFormNoTabsContainer.php
typo3/sysext/backend/Classes/Form/Container/FlexFormTabsContainer.php
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFlexProcess.php
typo3/sysext/backend/Classes/Form/NodeFactory.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexProcessTest.php
typo3/sysext/compatibility6/Classes/Configuration/FlexForm/FlexFormTools.php [new file with mode: 0644]
typo3/sysext/compatibility6/Classes/Form/Container/FlexFormElementContainer.php [new file with mode: 0644]
typo3/sysext/compatibility6/Classes/Form/Container/FlexFormEntryContainer.php [new file with mode: 0644]
typo3/sysext/compatibility6/Classes/Form/Container/FlexFormNoTabsContainer.php [new file with mode: 0644]
typo3/sysext/compatibility6/Classes/Form/Container/FlexFormTabsContainer.php [new file with mode: 0644]
typo3/sysext/compatibility6/Classes/Form/FormDataProvider/TcaFlexProcess.php [new file with mode: 0644]
typo3/sysext/compatibility6/Tests/Unit/Form/FormDataProvider/TcaFlexProcessTest.php [new file with mode: 0644]
typo3/sysext/compatibility6/ext_localconf.php
typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Configuration/Resource/Driver/LocalDriverFlexForm.xml
typo3/sysext/core/Documentation/Changelog/master/Deprecation-70138-FlexFormLanguageHandling.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/FlexForms/tt_content_flexform.xml
typo3/sysext/css_styled_content/flexform_ds.xml
typo3/sysext/felogin/Configuration/FlexForms/Login.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/Configuration/TCA/tx_impexpgroupfiles_item.php
typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php
typo3/sysext/mediace/Configuration/FlexForms/media.xml