Project

General

Profile

Actions

Bug #48127

closed

StorageRepository::findByStorageType() uses wrong default typeField

Added by Frans Saris almost 11 years ago. Updated over 5 years ago.

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

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.4
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

By default the StorageRepository::findByStorageType() function tries to search/match the storage by $this->typeField. But $this->typeField has 'type' as default value and that column isn't present in the 'sys_file_storage' database.

In my opinion this has to be:

    /**
     * @var string
     */
    protected $typeField = 'driver';

Actions

Also available in: Atom PDF