Actions
Bug #48127
closedStorageRepository::findByStorageType() uses wrong default typeField
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