Allow users to overwrite/update files with same name

Bug #1521253 reported by Melvin Romero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
Wishlist
Unassigned

Bug Description

This is actually an improvement request.

Currently in all versions, if a user wants to update or overwrite a file with the same name, the system simply adds the file with a .1, .2 at the end. So, if I have "file1.png" in a page and I want to update it, I have to delete the old file, upload a new one and redo the link in my page.

Unless I'm doing something wrong, Mahara should have the same function as Moodle in this case. The user is prompted if he/she wants to overwrite/update or rename the file. That way, all links to this file are updated in the pages.

Tags: fileupload
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Hi Melvin,

You are correct, that's functionality Mahara is currently lacking, and it's something that it would be nice to have, for the specific reason you described. Especially since we allow this kind of edit-once-change-everywhere functionality for virtually every other type of Mahara artefact.

If we were to add this ability, it would also be good to retain a history of the previous versions of the file, viewable in the artefact details section. I think in an academic environment that would probably be useful to provide an audit trail. On the downside, it would also use up extra user quota space, and add a lot of code complexity, so maybe that would be better saved for a follow-up patch.

Cheers,
Aaron

Changed in mahara:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: fileupload
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.