Closed iuliabalan closed 3 years ago
Confirmed with @mflorea that the user would have 3 options:
Thanks!
Result:
When the similar file is uploaded, a popup is displayed with the upload actions that can be selected:
upload new file: a new filemanager file is created with the uploaded file name
replace:
abort: don't upload the current file (if other file conflicts are present for the uploads in queue, this action is not applied to them and other popups will be shown)
The modal is displayed also if a file with the same name is uploaded
Currently, when we upload a document on File Manager if the document's name is only different by lower/upper case a new page is created (since XWiki is case sensitive). To not have duplicated documents in FM (that are only different by the name's lower/upper case) it would be nice to have a warning displayed when uploading a document, like "This document already exists. Do you want to replace it?" and the option to replace the existing document, create a new one, or cancel the upload.