Issue Bug Closed

#57222FrontendContentAdapterService does not consider LanguageFallback/TCA-Configuration

Alexander Wahl 03/24/14, 10:09 updated 04/20/16, 13:10

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.