Project

General

Profile

Actions

Bug #57222

closed

FrontendContentAdapterService does not consider LanguageFallback/TCA-Configuration

Added by Alexander Wahl about 10 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-03-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:
Remote Sprint

Description

When LanguageFallback is configured in

config.sys_language_mode = content_fallback ; 1,0
FrontendContentAdapterService::modifyDBRow 

has a false implementation. In TCA of sys_file_reference the Language-Fallback is configured right.
sys_file_reference['columns']['link']['l10n_mode'] = 'mergeIfNotBlank'

When tt_content-Row is passed to FrontendContentAdapterService in Overlay-Mode the method modifyDBRow should not consider $row['_LOCALIZED_UID']. It should process $fileRepository->findByRelation with $row['uid'] and should do the RecordOverlay after finding the relation with TYPO3-API getRecordOverlay to take care/consider TCA-Configuration.

In the current implementation the TCA-configuration shows the fallback-image in Backend correct. But in FE-Rendering no image appears.

Actions

Also available in: Atom PDF