[BUGFIX] Make checks in localize compatible with new Localization Wizard
The checks for language and localization-parent in DataHandler's localize method are made compatible with the options which the new localization wizard allows; more specifically allowing translations from other languages than the default language (but still pointing to a default record). This makes it also possible to make correct use of the localize command instead of the copy command now when translating from other languages than the default language. Resolves: #78059 Releases: master, 7.6 Change-Id: I01647d759a745abbbf0fa34a16b20f3085ef91ea Reviewed-on: https://review.typo3.org/50022 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Tymoteusz Motylewski <t.motylewski@gmail.com> Tested-by:
Tymoteusz Motylewski <t.motylewski@gmail.com>
Showing
- typo3/sysext/backend/Classes/Controller/Page/LocalizationController.php 3 additions, 22 deletions...ackend/Classes/Controller/Page/LocalizationController.php
- typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php 3 additions, 3 deletions...Functional/Controller/Page/LocalizationControllerTest.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 24 additions, 7 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php 10 additions, 0 deletions...unctional/DataHandling/Regular/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 15 additions, 0 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentFromNonDefaultLanguage.csv 7 additions, 0 deletions.../Modify/DataSet/localizeContentFromNonDefaultLanguage.csv
- typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts 3 additions, 0 deletions...t/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php 10 additions, 0 deletions...unctional/DataHandling/Regular/AbstractActionTestCase.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 15 additions, 0 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentFromNonDefaultLanguage.csv 10 additions, 0 deletions.../Modify/DataSet/localizeContentFromNonDefaultLanguage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/ActionTest.php 15 additions, 0 deletions...ts/Functional/DataHandling/Regular/Publish/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizeContentFromNonDefaultLanguage.csv 9 additions, 0 deletions...Publish/DataSet/localizeContentFromNonDefaultLanguage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/ActionTest.php 15 additions, 0 deletions...Functional/DataHandling/Regular/PublishAll/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizeContentFromNonDefaultLanguage.csv 9 additions, 0 deletions...lishAll/DataSet/localizeContentFromNonDefaultLanguage.csv
Please register or sign in to comment