Project

General

Profile

Actions

Feature #62830

closed

Epic #83669: Improve file list / file browser

Improved folder moving/copying

Added by Christian Opitz about 10 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Start date:
2014-11-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

The methods for moving and copying in TYPO3\CMS\Core\Resource\ResourceStorage require several improvements:
  1. Implement moving and copying folders between storages
  2. Implement conflict handling for moving and copying folders
    • renameNewFolder would generate another name for the target folder, when it already exists at target parent
    • renameNewFile would add new directories and add the files with new names, when they already exist
    • integrate would add new directories and overwrite existing files
    • cancel would cancel
  3. Implement a way to allow custom drivers to import files from other drivers/storages rather than forcing it to add a local copy (see thread on mailing list for upfront discussions):
    Will provide an TYPO3\CMS\Core\Resource\Driver\ImportableDriverInterface with importFile(\TYPO3\CMS\Core\Resource\FileInterface $file, $targetFolderIdentifier, $newFileName = null, $removeOriginal = TRUE). When the driver implements this interface, this method instead of addFile() will be called in ResourceStorage::moveFile() and ResourceStorage::copyFile()
  4. Allow to moveFile/moveFolder without removing the source file (usefull for migrations between two different drivers)
  5. Create functional tests for the move and copy methods

Related issues 3 (1 open2 closed)

Related to TYPO3 Core - Bug #65983: Clipboard does not work between two filestoragesClosedFrans Saris2015-03-24

Actions
Related to TYPO3 Core - Bug #64363: Copy files in Filelist backendAccepted2015-01-19

Actions
Related to TYPO3 Core - Feature #66514: Better UI to move multiple files or foldersClosed2015-04-21

Actions
Actions

Also available in: Atom PDF