Project

General

Profile

Actions

Bug #62755

closed

TCA - showing wrong uids for FAL fields in BE list module

Added by Jan Kornblum over 9 years ago. Updated over 6 years ago.

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

100%

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

Description

There is a model which contains more than one FAL property. Each FAL property is defined using "getFileFieldTCAConfig" as folows:

'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'images1',
array(
'maxitems' => 5,
'foreign_match_fields' => array(
'fieldname' => 'images1',
'tablenames' => 'tx_myext_domain_model_xyz',
'table_local' => 'sys_file',
),
),
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),

For example, these two fields are called "images1" and "images2". Now there are one (or more) files beeing assigned to the first field "images1" in BE. After this, if you view the db table using the list module (expand the table by clicking on the "+" icon, then select "images1" and "images2" to be shown), both columns show the same UIDs. Independant from which field has how many files assigned, the displayed UIDs for "images1" and "images2" are always the same.

I looks like all references from sys_file or sys_file_reference related to this table are shown, not filtered by the concrete local field.

Actions

Also available in: Atom PDF