No subject


Wed Nov 27 07:05:18 CET 2013


Especially for the DocModule file upload.

Assumption: Content-hashes are only checked within storage
The cases for uploading a file again are:
1.) same name, same content, override -> mask as successful
2.) same name, same content, no override -> error, tell the user the =
file exists
3.) same name, other content, override -> replace the file content and =
keep references
4.) same name, other content, no override -> rename the uploaded file
5.) other name, same content, override  -> rename the existing file and =
keep references
6.) other name, same content, no override  -> error, tell user file does =
already exist

Furthermore we lack a 'replace' function, to replace an existing file =
with a completely different (other name, other content) file, but =
keeping the references.
This is a MUST HAVE IMHO.

What's your opinion about this?
Gr. Frans


Cheers

Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member



More information about the TYPO3-team-core mailing list