Bug #65059
closedNon-translated FAL metadata appears as UID-list in linked record
0%
Description
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
2. File is linked to a record in default language and "title" with "description" are correctly taken from metadata
3. Record with sys_file_referecne is translated to Italian and everyting is good, becasue sys_file_metadata already contains Italian translation
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
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
Files