[TASK] Deprecate inline localizationMode 50/51650/4
authorOliver Hader <oliver@typo3.org>
Sun, 12 Feb 2017 21:16:26 +0000 (22:16 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 20 Mar 2017 09:16:24 +0000 (10:16 +0100)
commit7cbf89adf5edd597d7eae1b3c5de93514f1efe95
tree071980ef66a8e374398c8148868c658a16c2a808
parentc02e019a8149e176d59dabe2422e438f46e8b2ca
[TASK] Deprecate inline localizationMode

TCA type's inline localizationMode can either be "keep" or "select".
At least "keep" is counter-productive if allowLanguageSynchronization
is enabled. That's why the whole localizationMode behaviour setting
shall be deprecated and ignored in case allowLanguageSynchronization
is enabled for the very same TCA field.

This change does not migrate non-conflicting localizationMode settings
automatically, since this potentially might be breaking and cannot be
done without side-effects. Besides that calls to the static function
BackendUtility::getInlineLocalizationMode() do not trigger a new entry
in the deprectation log since the usage of localizationMode in TCA is
logged already.

Resolves: #79770
Releases: master
Change-Id: Ic2072877d08bb880e9e957d6d31f0527333c2cc5
Reviewed-on: https://review.typo3.org/51650
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInlineConfiguration.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Classes/Migrations/TcaMigration.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-79770-DeprecateInlineLocalizationMode.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php