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
Updated by Andreas Moeller almost 11 years ago
The bug is also available in Typo 6.2 beta 5
Updated by Markus Klein almost 11 years ago
- Assignee deleted (
Markus Klein) - Target version set to next-patchlevel
Updated by Andreas Moeller almost 11 years ago
- File typo62_testext.zip typo62_testext.zip added
I attached a small test extension.
1) install & activate extension
2) Create a new "Das ist ein Test CE" Content Element
3) Upload and link any picture to the Content Element
4) As you will see now, the "Ref" column in the Filelist is empty (Anyone can delete the file, and the reference in the "Das ist ein Test CE" is lost
Updated by Riccardo De Contardi over 9 years ago
- File Cattura62-1.PNG Cattura62-1.PNG added
- File Cattura62-2.PNG Cattura62-2.PNG added
- File Cattura62-3.PNG Cattura62-3.PNG added
- File Cattura75-1.PNG Cattura75-1.PNG added
- File Cattura75-2.PNG Cattura75-2.PNG added
- File Cattura75-3.PNG Cattura75-3.PNG added
- Status changed from New to Closed
I close this because as far as I can see it has been solved in both 6.2.14 and 7.5-dev (latest master).
I followed your instructions and the results are shown in the attached images (refer to their description; the 62-.png series refers to 6.2.14 and 75-.png to 7.5 of course)
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Updated by Gerrit Code Review over 3 years ago
- Status changed from Closed to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70722
Updated by Benni Mack about 3 years ago
- Status changed from Under Review to Closed