[BUGFIX] AllowLanguageSynchronization processes null values twice
TCA columns having 'l10n_mode' defined to either 'exclude' or 'mergeIfNotBlank' (later is autotatically migrated to the according 'allowLanguageSynchronization' behavior) are processed twice on handling modifications in DataHandler. In a result an exeception is throws which prevents recursions on chained translations. Checking null values with plain isset() is replaced with a new method using array_key_exists() to consider null values as well. Change-Id: I3f1b0cdf3f62845f3bae3632f6aaa9b2dfdc6e0b Resolves: #80338 Releases: master Reviewed-on: https://review.typo3.org/52091 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Frank Nägler <frank.naegler@typo3.org> Tested-by:
Frank Nägler <frank.naegler@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php 36 additions, 6 deletions...re/Classes/DataHandling/Localization/DataMapProcessor.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php 8 additions, 0 deletions...unctional/DataHandling/Regular/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultElements.csv 13 additions, 13 deletions...onal/DataHandling/Regular/DataSet/LiveDefaultElements.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 14 additions, 0 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentWSynchronizationHNull.csv 9 additions, 0 deletions...r/Modify/DataSet/localizeContentWSynchronizationHNull.csv
Please register or sign in to comment