Actions
Bug #57975
closedNo preview images on driver with basePath = /
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-04-16
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:
Description
Hello Core-Team,
I have created a new driver with basePath=/
In such a driver no preview images will be created
I found following in LocalDriver:
// as for the "virtual storage" for backwards-compatibility, this check always fails, as the file probably lies under PATH_site // thus, it is not checked here // @ todo is check in storage if (GeneralUtility::isFirstPartOfStr($localFilePath, $this->absoluteBasePath) && $this->storageUid > 0) { throw new \InvalidArgumentException('Cannot add a file that is already part of this storage.', 1314778269); }
I don't understand this part. Why?
Stefan
Actions