Project

General

Profile

Bug #65059

Updated by Mathias Schreiber over 8 years ago

Whenever a translation is made to FAL record in TYPO3 6.2, and such a FAL record is linked to any other record (via sys_file_reference) everything is ok, until sys_file_reference is translated to a language, which doesn't have a translation in sys_file_metadata. In this case, likst of UIDs of available translations from sys_file_metadata for this record is shown. 

 Let's consider following example (with screenshots): 
 1. File is translated through Filelist into Italian and French (see filelist.PNG) 
 !filelist.PNG! 
 2. File is linked to a record in default language and "title" with "description" are correctly taken from metadata  
 !file_reference_default.PNG! (see file_reference_default.PNG) 
 3. Record with sys_file_referecne is translated to Italian and everyting is good, becasue sys_file_metadata already contains Italian translation (see file_reference_it.PNG) 
 !file_reference_it.PNG! 
 4. Record with sys_file_reference is translated to German, but here we run in a trouble, becasue no German translation is available for metadata and instead list of existing UIDs from metadata translations is shown: default, Italian and French 
 !file_reference_de.PNG! (file_reference_de.PNG) 

 After some debugging I've found, that problem persists in FormDataTraverser->getFieldValueRecursive(), which receives in latter case this structure: "uid_local|metadata|title". It succesfully finds file with uid_local, then it fetches metadata as list of available metadata UIDs, and then can't fetch title, because it is not there. 

 TYPO3 6.2.9

Back