Issue Bug Closed

#46037TYPO3 deletes versioned files always

SZUE TSpaete 03/05/13, 12:58 updated 03/04/19, 22:06

Description

Hello,

it seems that TYPO3 does always delete the previous uploaded file when a new file is uploaded in a TCA file upload field, even with activated versioning on that table.
What happens is that that the new file is uploaded, a new history entry will be created and the latest file will be removed. If you now restore to the latest entry, the current file be wiped too and the file entry is invalid now – Results: Data Loss.

This can be simple reproduced by creating a extension with the kickstarter without any plugins, just only one TCA Table with one file upload field, and create a entry on the typo3 backend and upload a file it, replace it with a new file (version) and restore it afterwards.

Please confirm this and please provide a solution.

Reviews 0

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