Project

General

Profile

Actions

Bug #55987

closed

"Ref" column in Filelist is not counting up in own FlexForm with "file_reference"

Added by Andreas Moeller about 10 years ago. Updated over 2 years ago.

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

0%

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

Description

Filereferences are not added correctly for FlexForm Value "internal_type" = "file_reference".

I am adding a FlexForm to my custom Content Element.

$TCA['tt_content']['types']['list']['subtypes_addlist']['foo'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*', 'FILE:EXT:' . $_EXTKEY . '/Resources/Public/FlexForms/Bar.xml', 'Foo');

The FlexForm contains a file_reference. The functionallity works as it shall do.
But when I insert a file_reference in my own Content Element, the "Ref" column in the filelist is not counting up!

The result is, that a person can delete the file from the Filelist and the file is also gone in the custom Content Element.

Tested with Typo 6.1.7
May occurs in Typo 6.2


Files

typo62_testext.zip (23.5 KB) typo62_testext.zip Andreas Moeller, 2014-03-05 13:35
Cattura62-1.PNG (28.1 KB) Cattura62-1.PNG add image to the content element Riccardo De Contardi, 2015-08-14 11:20
Cattura62-2.PNG (18.4 KB) Cattura62-2.PNG listview shows a reference Riccardo De Contardi, 2015-08-14 11:20
Cattura62-3.PNG (123 KB) Cattura62-3.PNG info detail of the image reports the reference Riccardo De Contardi, 2015-08-14 11:20
Cattura75-1.PNG (26 KB) Cattura75-1.PNG add image to the content element Riccardo De Contardi, 2015-08-14 11:20
Cattura75-2.PNG (17.9 KB) Cattura75-2.PNG info detail of the image reports the reference Riccardo De Contardi, 2015-08-14 11:20
Cattura75-3.PNG (130 KB) Cattura75-3.PNG listview shows a reference Riccardo De Contardi, 2015-08-14 11:20
Actions

Also available in: Atom PDF