Issue Bug Rejected

#66348Renaming on upload problem

Michal Cygankiewicz 04/10/15, 10:46 updated 07/16/15, 22:13

Description

When uploading file which already exists TYPO3 adds extra number at the end of filename.

So if uploaded file name is name.jpg and such filename already exists – TYPO3 will rename uploaded to name_01.jpg, name_02.jpg etc…

The above is fine but:

If uploaded file name is for example name_72.jpg and such filename already exists – TYPO3 will rename uploaded file to name_01.jpg, name_02.jpg, …, name_71.jpg, name_73.jpg… It should rather rename to name_72_01.jpg, name_72_02.jpg…

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Benni Mack commented and changed status New Rejected 07/16/15, 22:13

    Well, introducing a logic that detects whether TYPO3 renamed a file that exists or it was renamed, is quite complex. We now introduced another way for uploading files and dealing with conflicts in TYPO3 CMS 7.4 / master. Please have a look here.

    If you have any further questions, feel free to contact me or check via Slack on https://forger.typo3.org/slack