Project

General

Profile

Actions

Bug #106360

open

allowLanguageSynchronization not working for file references in tt_content

Added by Albrecht Köhnlein 13 days ago. Updated 13 days ago.

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

0%

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

Description

I've set these TCA configurations:

$GLOBALS['TCA']['tt_content']['columns']['assets']['config']['appearance']['showPossibleLocalizationRecords'] = false;
$GLOBALS['TCA']['tt_content']['columns']['media']['config']['appearance']['showPossibleLocalizationRecords'] = false;

When I create translations of the content elements with settings like this ...

I still see the image of the default language in the translated frontend.

The behavior is the same for assets in "textmedia" and for download files in "uploads". I already started to investigate with Xdebug and it looks like the TYPO3\CMS\Frontend\DataProcessing\FilesProcessor and TYPO3\CMS\Frontend\Resource\FileCollector in combination always only check for the file references by tt_content.uid field. But because of language overlay, this field always contains the default language's uid.


Files

Screenshot 2025-03-11 170835.png (25 KB) Screenshot 2025-03-11 170835.png Albrecht Köhnlein, 2025-03-11 16:09
Actions #1

Updated by Georg Ringer 13 days ago

Actions

Also available in: Atom PDF