[BUGFIX] MM language synchronization is ignored on initial localization 04/52004/7
authorOliver Hader <oliver@typo3.org>
Sat, 11 Mar 2017 09:50:11 +0000 (10:50 +0100)
committerBenni Mack <benni@typo3.org>
Sun, 12 Mar 2017 10:58:29 +0000 (11:58 +0100)
commit5a8b7f2a17b83b0ad02b81fc92a68932b896725a
tree965c724aeadae6ea6c2e71d1610b8b86ff15f399
parentf1fbc80f139fc0f835a33223d762bcd0beb40c6a
[BUGFIX] MM language synchronization is ignored on initial localization

The language synchronization of many-to-many fields (MM) is ignored for
the initial localization command, but is considered again when further
changes happen to source/parent elements of a localized element.

Besides fixing the missing 'config' segment on resolving the foreign
table name of the field to be synchronized, the special handling for
language assignments has been added - albeit it might not been used
in fields different to sys_language_uid.

Change-Id: I8bf02ee117fa41cf5b0425d0e535fced84fb72ca
Resolves: #80211
Releases: master
Reviewed-on: https://review.typo3.org/52004
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Müllenhagen <christianmuellenhagen@yahoo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/ActionTest.php
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeContentChainOfRelationNAddCategoryWSynchronization.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeContentOfRelationNAddCategoryWSynchronization.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeContentOfRelationWSynchronization.csv [new file with mode: 0644]