#3608 - Configurable overwrite behaviour
| Identifier | #3608 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Configurable overwrite behaviour |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Addon | filedump |
| Description | Ability to configure whether to do an overwrite-confirmation if uploaded file(s) already exist.
To do it well we'd have to have a list covering each conflicting file, anything selected would be overwritten. This would need implementing for the filedump module and the Comcode 'media' tag (in v11 you'll be able to upload directly when adding this tag). |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
A. Automatically overwrite the file
B. Keep both files, but append a sequential number on the new file's filename.
C. Do not overwrite; prevent uploading of the file.
D. Prompt the user each time on what they want to do (any of the above 3). Have an overlay dialog that lists each file conflict with 3 small buttons on the right: "overwrite", "keep both", or "skip".
- Or, use a list with check boxes and only one set of buttons, and the user can quickly apply their preferences. The dialog remains on screen until something is applied to all listed conflicts (unless the user clicks cancel, which "skip" is then applied to all remaining items).
1) filedump allows uploading multiple files at once, hence the need to have a checkbox list to determine what to overwrite
2) the media tag allows direct file upload, which is a direct front-end to the filedump
3) don't worry so much about 'media' tag confirmations if it proves complex, you can do the first half of the issue only if you wish
I don't feel a need for sequential numbers, too messy for a shared media repository.