[TASK] Remove deprecated localizationMode setting for file fields 01/52201/3
authorOliver Hader <oliver@typo3.org>
Mon, 27 Mar 2017 21:54:06 +0000 (23:54 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 28 Mar 2017 18:28:01 +0000 (20:28 +0200)
The current behavior for file fields using TCA type inline is configured
to use localizationMode=select, which is deprecated. Actually files have
been copied along during the localization of the parent record - and
files can then be defined independently for the default language record
and in the translated record. The localizationMode synchronization
behavior was disabled in the user-interface.

With this change the default core behavior will stay the same. If the
localization buttons would have been enabled individually, this now can
be done with the more specific allowLanguageSynchronization feature.

Change-Id: I88668e3d0ce1dd192d32b93f0312796c59d62358
Resolves: #80504
Releases: master
Reviewed-on: https://review.typo3.org/52201
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php

index a950270..d9096ab 100644 (file)
@@ -591,10 +591,6 @@ class ExtensionManagementUtility
                     'width' => '45',
                     'height' => '45c',
                 ],
-                'showPossibleLocalizationRecords' => false,
-                'showRemovedLocalizationRecords' => false,
-                'showSynchronizationLink' => false,
-                'showAllLocalizationLink' => false,
 
                 'enabledControls' => [
                     'info' => true,
@@ -603,12 +599,9 @@ class ExtensionManagementUtility
                     'sort' => false,
                     'hide' => true,
                     'delete' => true,
-                    'localize' => true,
                 ],
             ],
             'behaviour' => [
-                // @deprecated: IRRE 'localizationMode' is deprecated and will be removed in TYPO3 CMS 9
-                'localizationMode' => 'select',
                 'localizeChildrenAtParentLocalization' => true,
             ],
         ];