When my user deletes an attachment, he gets "Attachment already exists in new topic". Investigation finds that an attachment by that name already exists in the
TrashAttachment topic.
My workaround is to delete the old attachment permanently from the filesystem, and editing the metadata files.
Suggest that attachment files can be renamed automatically when a conflict happens. I understand that this would probably open a big can of worms...
--
TWiki:Main/AndrewPope
- 28 Aug 2007
Setting this as enhancement.
--
TWiki:Main.SteffenPoulsen
- 17 Sep 2007
This thing can really slow things down during starting of a new twiki when you delete a lot of stuff
--
TWiki:Main.GalSisso
- 16 Oct 2007
I think the delete action should take different action than moving. When you delete the deleted item should be renamed if there is a name clash by appending _1 _2 _3 etc. Same with deleting topics.
This is more a bug than an enhancement because it should never be impossible to delete a topic or an attachment. But with low priority. Can easily wait to 5.0
--
TWiki:Main.KennethLavrsen
- 16 Oct 2007
I got around it by deleting the pub/Trash and data/Trash directories and then copying the originals from the TWiki-4.1.2.tgz archive (warning: completely empties the trash).
--
TWiki:Main.AlexPB
- 16 Nov 2007
This bug is a duplicate of
Item5384.
--
TWiki:Main.PeterThoeny
- 09 Apr 2009
Having a attachment delete mechanism that doesn't handle such an obvious corner case is really lame. The fact that this design bug even made it into the code really damages my confidence in the TWiki platform. The fact that this bug has been known for over a year (along with an extremely simple fix) damages it even more.
I have technically inept users who find this bug extremely confusing. Why on earth is it low priority?
--
TWiki:Main.IsaacRabinovitch
- 15 Apr 2009
Thanks for your feedback. This bug is tracked at
Item5384, it has "normal" priority. TWiki is open source, anyone can (and should) get engaged to fix things (or sponsor a fix) and enhancements. Personally I agree that this bug should have been fixed a long time ago.
--
TWiki:Main.PeterThoeny
- 15 Apr 2009