Actions
Bug #46564
closedCopy between different storages leads to copy in source storage
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-03-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If you try to copy a folder from one storage into another one it leads to a copy in the same (source) storage. This happens because the action is executed in the source storage and only works with the source folder object.
Besides the copyFolderBetweenStorages function raises an exception which might can be moved into the driver class as the driver should be responsable for the copy work. Therefore the AbstractDriver should support (abstract) methods to copy a folder between storages and the local driver should raises the exception.
Same applies to move folders between storages.
Actions