[BUGFIX] Better sorting localizing records from non-default language
Using the "translate" button in page module and localizing records from non-default language may lead to funny content element sorting in the target language. This has been mitigated with probably #85300 and #84951 a while ago already, but there still exists a codewise misbehavior in DataHandler::getPreviousLocalizedRecordUid(). The patch streamlines the method and applies a fix so records calculate the correct "before" uid even in "localization of a localization" context. Resolves: #83079 Resolves: #83469 Related: #85300 Related: #84951 Releases: master, 11.5 Change-Id: I03c566054bd4939fed96206f62633b2abe4f195f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/54750 Tested-by:core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewe...
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 86 additions, 61 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php 51 additions, 0 deletions...unctional/DataHandling/Regular/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 9 additions, 0 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv 1 addition, 1 deletion...y/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentFromNonDefaultLanguage.csv 1 addition, 1 deletion.../Modify/DataSet/localizeContentFromNonDefaultLanguage.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentFromNonDefaultLanguageWSynchronizationDefault.csv 1 addition, 1 deletion...eContentFromNonDefaultLanguageWSynchronizationDefault.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentFromNonDefaultLanguageWSynchronizationSource.csv 1 addition, 1 deletion...zeContentFromNonDefaultLanguageWSynchronizationSource.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentFromNonDefaultLanguageWithAllContentElements.csv 43 additions, 0 deletions...zeContentFromNonDefaultLanguageWithAllContentElements.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 10 additions, 0 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv 1 addition, 1 deletion...y/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentFromNonDefaultLanguage.csv 1 addition, 1 deletion.../Modify/DataSet/localizeContentFromNonDefaultLanguage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentFromNonDefaultLanguageWithAllContentElements.csv 50 additions, 0 deletions...zeContentFromNonDefaultLanguageWithAllContentElements.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv 1 addition, 1 deletion...h/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizeContentFromNonDefaultLanguage.csv 1 addition, 1 deletion...Publish/DataSet/localizeContentFromNonDefaultLanguage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv 1 addition, 1 deletion...l/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizeContentFromNonDefaultLanguage.csv 1 addition, 1 deletion...lishAll/DataSet/localizeContentFromNonDefaultLanguage.csv
Please register or sign in to comment