Project

General

Profile

Actions

Bug #102509

open

Changes in FileReferences are not copied to other languages with l10n_mode=exclude

Added by Florian Müller 5 months ago. Updated 29 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
Start date:
2023-11-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
FileReference l10n_mode
Complexity:
Is Regression:
Sprint Focus:

Description

Changes to a FileReference are not copied to the other languages after a page is saved for the first time.

e.g.:

'someImage' => [
  'label' => 'LLL:EXT:myExt/Resources/Private/Language/locallang_tca.xlf:pages.someImage',
  'l10n_mode' => 'exclude',
  'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('someImage')
]

Steps to reproduce:

  • Add the image to the page and save it.
  • Create the translation and save.
  • Make changes to the original FileReference and save.
  • Load the FileReference e.g. with \TYPO3\CMS\Frontend\Resource\FileCollector::getFileReferences
  • Please note that the changes are only made for the first object language and are not transferred to the translated FileReferences.

expected behaviour:
All changes to a FileReference are copied to the other existing languages when a FileReference is changed and the l10n_mode is excluded (e.g. crop, alt, etc).

Actions #1

Updated by Florian Müller 5 months ago

  • Tags changed from filereferenz,l10n_mode to filereferenz l10n_mode
Actions #2

Updated by Florian Müller 5 months ago

  • Tags changed from filereferenz l10n_mode to FileReference l10n_mode
Actions #3

Updated by Dan Kleine (Untenzu) 29 days ago

Can confirm this issue.

Regarding the cropvariants: The suggested workaround package b13/unlocalizedcrop (https://github.com/b13/unlocalizedcrop) in issue #88024 did help me.

Actions

Also available in: Atom PDF