Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Deprecate old syntax for IRRE localize synchronize in DataHandler
With TYPO3 v7.6 the internal DataHandler command to "inlineLocalizeSynchronize" was migrated to an array-based syntax, and TYPO3 Core uses this ever since. With TYPO3 v11 it is time to deprecate the old behavior. Resolves: #95317 Releases: master Change-Id: I325f54d3cf3ab318a7528a393bf0d848e8b5e3b9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71184 Tested-by: core-ci <typo3@b13.com> Tested-by: Oliver Hader <oliver.hader@typo3.org> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Oliver Hader <oliver.hader@typo3.org> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
- Loading branch information
1 parent
18c362f
commit da0aadf
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...eprecation-95317-LegacySyntaxForIRRELocalizeSynchronizeCommandInDataHandler.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
======================================================================================== | ||
Deprecation: #95317 - Legacy syntax for IRRE localize synchronize command in DataHandler | ||
======================================================================================== | ||
|
||
See :issue:`95317` | ||
|
||
Description | ||
=========== | ||
|
||
The DataHandler command "inlineLocalizeSynchronize" now | ||
triggers a warning if the incoming command payload is sent | ||
as comma-separated list rather than an array. | ||
|
||
The array allows to synchronize/localize multiple values at once, | ||
which is preferred since TYPO3 v7.6, and used in TYPO3 properly | ||
since then. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
Calling DataHandler `process_cmdmap` with an incoming | ||
command for "inlineLocalizeSynchronize" with a payload | ||
of comma-separated values will trigger a PHP deprecation warning. | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
TYPO3 installations with custom code related to DataHandler | ||
and modifying the "inlineLocalizeSynchronize" command, | ||
which is highly unlikely. This only affects special | ||
handling of "inline" configuration fields. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
See "Important-71126-AllowToDefineMultipleInlineLocalizeSynchronizeCommands.rst" | ||
for further information on how to migrate your incoming | ||
DataHandler command. | ||
|
||
.. index:: PHP-API, NotScanned, ext:core |