Issue Bug Closed

#63603Unexpected behaviour with file upload

Raphael Zschorsch 12/05/14, 15:50 updated 10/02/18, 11:47

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.

Reviews 4