Bug #46564

Copy between different storages leads to copy in source storage

Added by Nicole Cordes about 8 years ago. Updated over 3 years ago.

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.


Related issues

Has duplicate TYPO3 Core - Bug #45777: Moving a file to another file storage throws fatal errorClosedAlexander Opitz2013-02-23

Actions
#1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19194

#2

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19194

#3

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19194

#4

Updated by Nicole Cordes about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#5

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/19213

#6

Updated by Nicole Cordes about 8 years ago

  • Status changed from Under Review to Resolved
#7

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF