Project

General

Profile

Actions

Bug #87887

open

"disablePrependAtCopy" does not work properly in combination with "allowLanguageSynchronization"

Added by Benedikt Imminger about 5 years ago. Updated 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2019-03-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

For the assets-field allowLanguageSynchronization is set to 'true' and disablePrependAtCopy is active for sys_file_reference .

This configuration works as expected when the content element is translated for the first time. [Translate to XY] is not visible in the translated content element.

However, when I add another image to the content element after the initial translation, [Translate to XY] is visible.

I think this might be a bug because it works as expected on the initial translation, but not correctly afterwards.

Steps to reproduce:
  1. Set allowLanguageSynchronization to true for 'assets'
  2. Activate disablePrependAtCopy for sys_file_reference
  3. For sys-lang 0: Add image to a content element which uses the assets field (e.g. text-media).
  4. Add metadata for image (e.g. title).
  5. Translate content element to sys_lang 1 ([Translate to XY] is not visible as expected).
  6. Go back to sys-lang 0: add a second image to content element and save the changes.
  7. Switch to sys-lang 1: metadata of new file now contains [Translate to XY]

Files

PrependAtCopy.png (288 KB) PrependAtCopy.png Benedikt Imminger, 2019-03-11 18:10
Actions

Also available in: Atom PDF