Bug 216557 - [api] add option to "Replace existing attachment of the same name" when attaching files
Summary: [api] add option to "Replace existing attachment of the same name" when attac...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: 3.4   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, noteworthy
Depends on:
Blocks:
 
Reported: 2008-01-25 05:16 EST by Geraint Howell CLA
Modified: 2010-02-03 14:46 EST (History)
1 user (show)

See Also:


Attachments
patch (25.21 KB, patch)
2009-12-09 18:02 EST, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (74.91 KB, application/octet-stream)
2009-12-09 18:02 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geraint Howell CLA 2008-01-25 05:16:31 EST
Build ID: M20071023-1652

Steps To Reproduce:
1. Open a task that has an attachment
2. Save that attachment on your local disk
2. Under "Attachments" click "Attach..."
3. See "File", and then "Browse"
4. Select a file you save in step 2.
5. Select "Next"

Here, there should be check box, as you see on Trac's web interface.

More information:
Comment 1 Steffen Pingel CLA 2008-01-26 17:44:43 EST
Thanks for the report. It would be good to add this option to the attachment wizard. Unfortunately the wizard is currently not extensible. Once the required  refactorings in the framework are complete this should be fairly straight forward to resolve.
Comment 2 Steffen Pingel CLA 2009-12-09 18:02:24 EST
Created attachment 154170 [details]
patch
Comment 3 Steffen Pingel CLA 2009-12-09 18:02:32 EST
Created attachment 154171 [details]
mylyn/context/zip
Comment 4 Steffen Pingel CLA 2009-12-09 18:03:19 EST
I'll merge the patch once the Mylyn version is bumped to 3.4 to allow for API changes.
Comment 5 Steffen Pingel CLA 2010-02-03 14:46:19 EST
Committed patch to head.