Bug #49538
closedNo references displayed in filelist for "internal_type" -> "file_reference" TCA fields
100%
Description
Filereferences are not added correctly for TCA-Fields group->file_refernces like:
'single_fileref' => array( 'exclude' => 0, 'label' => 'LLL:EXT:mb_fileref/locallang_db.xml:tx_mbfileref_file.single_fileref', 'config' => array( 'type' => 'group', 'internal_type' => 'file_reference', 'allowed' => '', 'disallowed' => 'php,php3', 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'], 'show_thumbs' => 1, 'size' => 1, 'minitems' => 0, 'maxitems' => 1, ) ),
The files selected in such fields, has no entries for this fields in Ref-Column (Filelist module).
Tested with Typo3 6.0, 6.1, 6.2 (master)
Attached a small testextension.
Files
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21764
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21764
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21764
Updated by Henrik Ziegenhain almost 11 years ago
I can confirm this issue for 6.1
Updated by Gerrit Code Review almost 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21764
Updated by Gerrit Code Review almost 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21764
Updated by Gerrit Code Review almost 11 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21764
Updated by Markus Klein almost 11 years ago
- Is Regression set to No
Can you please describe here how I can test that properly?
What does you extension help with?
Please tell us a "click path" in the BE.
Updated by Martin Borer almost 11 years ago
- Add a Filereference Test record to a Folder-Page
- Select a file in one of the two first fields (Single file reference or Multible file reference)
- for example: fileadmin/user_upload/index.html
- Save Record
- Click Filelist Modul and browse to the folder where you've selected the file.
- for example: fileadmin/user_upload/
- The selected file should have an entry in Ref Column. In Typo3 6.x this entry is missing. So if you want to delete this file, there will be no warning, that the file is referenced somewhere.
With the patch 21764 this will be fixed, and there will be a Ref. Entry for such referenced files.
Updated by Markus Klein almost 11 years ago
Note that the patch only affects newly created file_references.
Hence to test this before and after the patch, you have to do step 2 of the guideline above again.
Updated by Gerrit Code Review almost 11 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21764
Updated by Gerrit Code Review almost 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/24448
Updated by Gerrit Code Review almost 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/24449
Updated by Martin Borer almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a7da230928f37a70d658119dbddff3bcd4b1bf6b.
Updated by Andreas Moeller over 10 years ago
Is it possible that the same Bug still exists for FlexForm file_reference ?
Tested with Typo3 6.1.7
Updated by Marc Bastian Heinrichs over 10 years ago
@Andreas Otto †, jep: see #56991
Updated by Benni Mack almost 6 years ago
- Status changed from Resolved to Closed