Project

General

Profile

Actions

Bug #49538

closed

No references displayed in filelist for "internal_type" -> "file_reference" TCA fields

Added by Martin Borer over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-07-01
Due date:
% Done:

100%

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

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

mb_fileref_0.0.0.zip (13.6 KB) mb_fileref_0.0.0.zip Martin Borer, 2013-07-01 12:42

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #56352: Impexp: Files of TCA type "group" internal_type "file" are missing in exportClosedMarc Bastian Heinrichs2014-02-26

Actions
Related to TYPO3 Core - Task #56991: RefIndex is broken for FlexForm fields group file_reference, results in missing these files in exportClosedMarc Bastian Heinrichs2014-03-17

Actions
Actions #1

Updated by Gerrit Code Review over 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

Actions #2

Updated by Gerrit Code Review over 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

Actions #3

Updated by Gerrit Code Review over 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

Actions #4

Updated by Henrik Ziegenhain about 11 years ago

I can confirm this issue for 6.1

Actions #5

Updated by Gerrit Code Review about 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

Actions #6

Updated by Gerrit Code Review about 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

Actions #7

Updated by Gerrit Code Review about 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

Actions #8

Updated by Markus Klein about 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.

Actions #9

Updated by Martin Borer about 11 years ago

Ho to test this Issue:
  1. Add a Filereference Test record to a Folder-Page
  2. Select a file in one of the two first fields (Single file reference or Multible file reference)
    • for example: fileadmin/user_upload/index.html
  3. Save Record
  4. Click Filelist Modul and browse to the folder where you've selected the file.
    • for example: fileadmin/user_upload/
  5. 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.

Actions #10

Updated by Markus Klein about 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.

Actions #11

Updated by Gerrit Code Review about 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

Actions #12

Updated by Gerrit Code Review about 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

Actions #13

Updated by Gerrit Code Review about 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

Actions #14

Updated by Martin Borer about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #15

Updated by Andreas Moeller almost 11 years ago

Is it possible that the same Bug still exists for FlexForm file_reference ?

Tested with Typo3 6.1.7

Actions #17

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF