• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4514: Deleting attachment results with: "Attachment already exists in new topic" (Duplicate of Item5384)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Trash Low No Action Required   major  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary Deleting attachment results with: "Attachment already exists in new topic" (Duplicate of Item5384)
ReportedBy TWiki:Main.AndrewPope
Codebase 4.1.2
SVN Range

AppliesTo Engine
Component Trash
Priority Low
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease major
ReleasedIn

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2009-10-27 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback