Bug #48127
closedStorageRepository::findByStorageType() uses wrong default typeField
100%
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';
Updated by Philipp Gampe over 11 years ago
- Category set to File Abstraction Layer (FAL)
- Status changed from New to Accepted
- Assignee set to Philipp Gampe
- TYPO3 Version changed from 6.1 to 6.0
- PHP Version set to 5.4
obvious bug, the table only has a field driver
Updated by Gerrit Code Review over 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20858
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/20858
Updated by Gerrit Code Review over 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/21993
Updated by Gerrit Code Review over 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/21995
Updated by Philipp Gampe over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0ddfb6a5d3f50101d3f17e4309ca658e10b2076a.