Project

General

Profile

Actions

Bug #64363

open

Epic #83669: Improve file list / file browser

Copy files in Filelist backend

Added by Anonymous almost 10 years ago. Updated over 1 year ago.

Status:
Accepted
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Start date:
2015-01-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

TYPO3 version 6.2.9

When I copy a (html) file in the backend Filelist and insert the file in the same folder the following message appears: ... file already exists in folder ... So I must paste the file first into another folder, rename it and cut and paste it back to the desired folder.

In older versions you can copy and paste files directly because the new file was named: [filename]-copy-1.html


Related issues 6 (1 open5 closed)

Related to TYPO3 Core - Feature #55381: Allow Copy-Paste in Filelist where source is same as destination folderClosed2014-01-28

Actions
Related to TYPO3 Core - Feature #62091: Add conflict handling to FAL create methodsNew2014-10-07

Actions
Related to TYPO3 Core - Feature #62830: Improved folder moving/copyingClosed2014-11-10

Actions
Related to TYPO3 Core - Bug #76266: fileadmin: duplicating files in the same directoryClosed2016-05-23

Actions
Has duplicate TYPO3 Core - Bug #72844: File copying takes 7 clicksClosed2016-01-20

Actions
Has duplicate TYPO3 Core - Feature #82541: Filelist: Copy-pasting a file should offer rename if necessaryClosed2017-09-22

Actions
Actions #1

Updated by Mathias Schreiber almost 10 years ago

  • Category set to File Abstraction Layer (FAL)
  • Status changed from New to Needs Feedback
  • Assignee set to Mathias Schreiber
  • Sprint Focus set to On Location Sprint

Well, the entire idea of FAL was to prevent that old behavior.
I will put this onto the agenda for the FAL sprint

Actions #2

Updated by Alexander Opitz almost 10 years ago

We should find a solution also for upload of same file, see #55781 or better harmonize both points to work same for an editor.

Actions #3

Updated by Markus Klein over 9 years ago

  • Tracker changed from Feature to Bug
  • Status changed from Needs Feedback to Accepted
  • Priority changed from Should have to Must have
  • Target version set to 7.4 (Backend)
  • TYPO3 Version set to 6.2
  • Is Regression set to No
  • Sprint Focus deleted (On Location Sprint)

\TYPO3\CMS\Core\Resource\ResourceStorage::copyFile() should actually handle the conflict mode here. It looks like the conflict mode is "cancel" currently.

Question is how to decide what conflict mode is appropriate, but I would assume "rename", since this is the default also on many OS.
I change this to a bug here.

Actions #4

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #5

Updated by Benni Mack about 9 years ago

  • Target version deleted (7.5)
Actions #6

Updated by Riccardo De Contardi almost 9 years ago

  • Target version set to Candidate for patchlevel
Actions #7

Updated by Stefan Neufeind about 7 years ago

  • Has duplicate Feature #82541: Filelist: Copy-pasting a file should offer rename if necessary added
Actions #8

Updated by Riccardo De Contardi almost 7 years ago

  • Parent task set to #83669
Actions #9

Updated by Susanne Moog over 5 years ago

  • Assignee deleted (Mathias Schreiber)

This should actually open the same popup where the user can select what should happen as in the upload case. Basically when clicking paste the JS should reuse that part of the DragUploader.

Actions #10

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67445

Actions #11

Updated by Richard Haeser almost 4 years ago

This is also the case for folders

Actions #12

Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67445

Actions #13

Updated by Gerrit Code Review almost 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67445

Actions #14

Updated by Gerrit Code Review almost 3 years ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67445

Actions #15

Updated by Benni Mack over 1 year ago

  • Status changed from Under Review to Accepted
Actions

Also available in: Atom PDF