[BUGFIX] Make copy mode of translation modal use localize
... omitting TransOrigPointer While translating elements with the localization modal we have to make sure that the "Copy" mode does more than just a plain copy followed by an update of the sys_language_uid. Otherwise related elements will just be copied along but don't get a new language. This patch replaces the copy action with a new action called copyToLanguage. It behaves like localize action but does not set TransOrigPointer fields, so child elements get the correct language and are not connected to a language parent. Resolves: #75400 Releases: master, 7.6 Change-Id: If57af3c94c67824ab8bbbc62a8c6bea283e96fca Reviewed-on: https://review.typo3.org/47645 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- components/testing_framework/core/FunctionalTestCase.php 3 additions, 2 deletionscomponents/testing_framework/core/FunctionalTestCase.php
- typo3/sysext/backend/Classes/Controller/Page/LocalizationController.php 1 addition, 15 deletions...ackend/Classes/Controller/Page/LocalizationController.php
- typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php 10 additions, 10 deletions...Functional/Controller/Page/LocalizationControllerTest.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 23 additions, 2 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Documentation/Changelog/master/Important-75400-NewDataHandlerCommandCopyToLanguage.rst 21 additions, 0 deletions...r/Important-75400-NewDataHandlerCommandCopyToLanguage.rst
- typo3/sysext/core/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php 9 additions, 0 deletions...ts/Functional/DataHandling/FAL/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/FAL/Modify/ActionTest.php 22 additions, 0 deletions...e/Tests/Functional/DataHandling/FAL/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/FAL/Modify/DataSet/copyContentToLanguage.csv 13 additions, 0 deletions...DataHandling/FAL/Modify/DataSet/copyContentToLanguage.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Framework/ActionService.php 21 additions, 0 deletions...Tests/Functional/DataHandling/Framework/ActionService.php
- typo3/sysext/core/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php 20 additions, 0 deletions.../Functional/DataHandling/Group/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/Group/Modify/ActionTest.php 36 additions, 0 deletions...Tests/Functional/DataHandling/Group/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/Group/Modify/DataSet/copyContentToLanguageOfRelation.csv 16 additions, 0 deletions.../Group/Modify/DataSet/copyContentToLanguageOfRelation.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Group/Modify/DataSet/copyElementToLanguageOfRelation.csv 16 additions, 0 deletions.../Group/Modify/DataSet/copyElementToLanguageOfRelation.csv
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php 48 additions, 0 deletions...nctional/DataHandling/IRRE/CSV/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php 64 additions, 0 deletions...ts/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContentToLanguageKeep.csv 25 additions, 0 deletions...RE/CSV/Modify/DataSet/copyParentContentToLanguageKeep.csv
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContentToLanguageSelect.csv 25 additions, 0 deletions.../CSV/Modify/DataSet/copyParentContentToLanguageSelect.csv
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContentToLanguageWAllChildrenKeep.csv 25 additions, 0 deletions...y/DataSet/copyParentContentToLanguageWAllChildrenKeep.csv
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContentToLanguageWAllChildrenSelect.csv 28 additions, 0 deletions...DataSet/copyParentContentToLanguageWAllChildrenSelect.csv
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php 48 additions, 0 deletions...DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
Please register or sign in to comment