Project

General

Profile

Actions

Bug #65059

closed

Non-translated FAL metadata appears as UID-list in linked record

Added by Viktor Livakivskyi about 9 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

filelist.PNG (10.4 KB) filelist.PNG Viktor Livakivskyi, 2015-02-13 14:43
file_reference_default.PNG (17.9 KB) file_reference_default.PNG Viktor Livakivskyi, 2015-02-13 14:43
file_reference_it.PNG (16.6 KB) file_reference_it.PNG Viktor Livakivskyi, 2015-02-13 14:43
file_reference_de.PNG (16.5 KB) file_reference_de.PNG Viktor Livakivskyi, 2015-02-13 14:43

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #79834: Suggestions with "placeholder" fetches first result in databaseClosed2017-02-15

Actions
Actions

Also available in: Atom PDF