[TASK] Enhance DataHandler translation and synchronization handling 14/51714/10
authorOliver Hader <oliver@typo3.org>
Wed, 15 Feb 2017 21:47:15 +0000 (22:47 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Mon, 20 Feb 2017 06:22:00 +0000 (07:22 +0100)
commit5099297e564be5c75d0978bfb844dcb498796d35
tree355c93c802eee633053a67b43bb04ccdb241b1ec
parentb8f7bae5dd502c7b4a38da014702b7e31f8a4a5d
[TASK] Enhance DataHandler translation and synchronization handling

* add more tests for allowLanguageSynchronization & l10n_mode=exclude
* enhance inline children synchronization for non-translatable tables
  using $GLOBALS['TCA'][$tableName]['ctrl']['origUid'] if defined
* bugfix for copying records instead of localizing them - the target
  page-id was missing
* integrate handling of l10n_mode=prefixLangTitle for cloning data
  in memory - DataHandler hooks are not process in that regard

Resolves: #79856
Releases: master
Change-Id: I7f5ef7edba9e80deba6025fe1394d10ee8e2d78c
Reviewed-on: https://review.typo3.org/51714
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
12 files changed:
typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/localizeParentContentWAllChildrenSelectNLanguageSynchronization.csv
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/ActionTest.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizeNCopyPageWSynchronization.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizePageNAddHotelChildWExclude.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizePageNAddHotelChildWSynchronization.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizePageNAddMonoglotHotelChildWSynchronization.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizePageWExclude.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizePageWSynchronization.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizeParentContentWAllChildrenSelectNLanguageSynchronization.csv