[BUGFIX] Allow processing of multiple new record localizations
The current implementation of DataMapProcessor to determine the necessity of synchronizing record localizations is too strict since it expects real persisted database records and cannot resolve new records that have been handed with the very same data-map to the DataHandler. This mentioned constraint is resolved. Besides that, an additional value processing for internal fields is added. This method resolves new record ids to their real persisted UIDs using the famous remap stack. This only is executed, if these fields have not been processed in a relation-aware context and have a meaning to TYPO3 data-structures - for instance this is the case for 'l10n_source' field defined as TCA type 'passthrough'. Change-Id: Id1291910d85b3d314af7203314b8696a337fe364 Resolves: #80239 Releases: master, 8.7 Reviewed-on: https://review.typo3.org/52871 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:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 53 additions, 1 deletiontypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php 69 additions, 30 deletions...re/Classes/DataHandling/Localization/DataMapProcessor.php
- typo3/sysext/core/Classes/DataHandling/Localization/State.php 19 additions, 19 deletions...3/sysext/core/Classes/DataHandling/Localization/State.php
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php 55 additions, 0 deletions...DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/ActionTest.php 30 additions, 0 deletions...onal/DataHandling/IRRE/ForeignField/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizeParentContentNCreateNestedChildrenWLanguageSynchronization.csv 35 additions, 0 deletions...tContentNCreateNestedChildrenWLanguageSynchronization.csv
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizeParentContentSelectWSynchronization.csv 29 additions, 0 deletions...y/DataSet/localizeParentContentSelectWSynchronization.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php 29 additions, 0 deletions...unctional/DataHandling/Regular/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 45 additions, 0 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/createLocalizedContent.csv 11 additions, 0 deletions...andling/Regular/Modify/DataSet/createLocalizedContent.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/createLocalizedContentWExclude.csv 11 additions, 0 deletions...Regular/Modify/DataSet/createLocalizedContentWExclude.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/createLocalizedContentWSynchronization.csv 11 additions, 0 deletions...Modify/DataSet/createLocalizedContentWSynchronization.csv
Please register or sign in to comment