Bug #55987
closed"Ref" column in Filelist is not counting up in own FlexForm with "file_reference"
0%
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