Actions
Bug #88974
closedWrong l10n_state after copying a record
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2019-08-19
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
Prerequisites
- Configure tt_content field "assets" with behaviour "allowLanguageSynchronization"
- Create a page with translation
- Create a content element with a media file ("assets") and translate it
- Change the translation behaviour from "Value of default language" to "Custom value" and add a different file
- Create a copy of the element
Result:
The copied translation has no image because the l10n_state value of "assets" was set from "custom" to "source" (see attachment).
The wrong state was set in DataMapItem: https://github.com/TYPO3/TYPO3.CMS/blob/9.5/typo3/sysext/core/Classes/DataHandling/Localization/DataMapItem.php#L443
Files
Actions