Project

General

Profile

Actions

Bug #88974

closed

Wrong l10n_state after copying a record

Added by Alexander Vogt over 5 years ago. Updated 5 months ago.

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
  1. Configure tt_content field "assets" with behaviour "allowLanguageSynchronization"
Steps to reproduce:
  1. Create a page with translation
  2. Create a content element with a media file ("assets") and translate it
  3. Change the translation behaviour from "Value of default language" to "Custom value" and add a different file
  4. 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

elementcopy.PNG (73.7 KB) elementcopy.PNG Alexander Vogt, 2019-08-19 09:50
assets-of-translation.PNG (15.4 KB) assets-of-translation.PNG Alexander Vogt, 2019-08-19 09:51

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #79755: allowLanguageSynchronization triggers exception in translation page modalClosedOliver Hader2017-02-11

Actions
Related to TYPO3 Core - Story #101561: DataHandler related translation issuesNew2023-08-03

Actions
Actions

Also available in: Atom PDF