Actions
Bug #55763
closedusing object as string in ResourceStorage->getUniqueName
Start date:
2014-02-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
I got this error while attaching file in RTE
"Object of class TYPO3\CMS\Core\Resource\Folder could not be converted to string"
it is caused by the call
if (!$this->driver->fileExistsInFolder($theDestFile, $folder)) {
which should look like:
if (!$this->driver->fileExistsInFolder($theDestFile, $folder->getIdentifier())) {
because $folder is an object.
Actions