Project

General

Profile

Actions

Bug #63603

closed

Unexpected behaviour with file upload

Added by Raphael Zschorsch almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-12-05
Due date:
% Done:

100%

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

Description

When will this be changed in file typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php?

                // @todo can be improved towards conflict mode naming
                if ($this->dontCheckForUnique) {
                    $conflictMode = 'replace';
                } else {
                    $conflictMode = 'cancel';
                }

Currently it is not possible to not overwrite an image and to have expected behavious as before that a number (01, 02, etc.) is appended to the file. Instead an error is thrown that no unique filename exists, because there is only 2 options possible: replace or cancel, but the already implemented feature for changeName is never being called, because of the JavaScript confirm, giving back true or false.


Files

2015-01-02-fal-upload-override-001.png (49.6 KB) 2015-01-02-fal-upload-override-001.png Upload after adding the same files again Philipp Gampe, 2015-01-02 19:36

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #67466: Filelist file upload "overwrite" messageClosedAlina Fleser2015-06-15

Actions
Related to TYPO3 Core - Task #55419: Use enumeration for handling conflict in file namesClosedDaniel Goerz2014-01-29

Actions
Actions

Also available in: Atom PDF