Feature #72756

File copying = 7 clicks

Added by Katja Lampela almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2016-01-16
Due date:
% Done:

0%

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

Description

Hi,

After 4.5 copying files in fileadmin has been made difficult.

In 4.5 you could copy and paste the file easily in the same folder because the system added the _01, _02 and so on into the file name = 2 clicks and the file was copied.

Now this feature has been gone for years. At the moment in 6.2 you have to
1. copy the file
2. go to another folder
3. paste
4. rename the file
5. cut the file
6. go back to original folder
7. paste the file

= 7 clicks.


Related issues

Related to TYPO3 Core - Bug #72844: File copying takes 7 clicksClosed2016-01-20

Actions
#1

Updated by Georg Ringer almost 6 years ago

problem is in \TYPO3\CMS\Core\Utility\File\ExtendedFileUtility::func_copy there is a check

$appendSuffixOnConflict = (string)$cmds['altName'];

but altName can not be configured. setting this to 1 triggers the creation of a new file.

if you need that urgently for your project, xclass this file and change it.

#2

Updated by Morton Jonuschat almost 6 years ago

  • Status changed from New to Closed

After discussing this in the Core Team we won't have this in the core at this time. If you need this edge case please use the suggested XCLASS approach.

If you think that this is the wrong decision please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

#3

Updated by Markus Klein almost 6 years ago

Continued in #72844

Also available in: Atom PDF