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 almost 11 years ago. Updated about 3 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 #1

Updated by Andreas Moeller almost 11 years ago

The bug is also available in Typo 6.2 beta 5

Actions #2

Updated by Markus Klein almost 11 years ago

  • Assignee deleted (Markus Klein)
  • Target version set to next-patchlevel
Actions #3

Updated by Andreas Moeller almost 11 years ago

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

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.

Actions #5

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

Actions #6

Updated by Benni Mack about 3 years ago

  • Status changed from Under Review to Closed
Actions

Also available in: Atom PDF