Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 226214

Summary: exported file name differs from file name when dragged from task list
Product: z_Archived Reporter: Robert Elves <robert.elves>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: steffen.pingel
Version: unspecified   
Target Milestone: 3.1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 248364    
Attachments:
Description Flags
patch
none
mylyn/context/zip none

Description Robert Elves CLA 2008-04-08 19:46:58 EDT
The name of exported files differs between TaskExportAction and TaskDragSourceListener. Common code should be extracted and resulting file use same naming conventions in both cases.
Comment 1 Robert Elves CLA 2008-04-08 19:48:13 EDT
Need to ensure the file name itself isn't being parsed at later stages of import but I don't believe this is the case off hand.
Comment 2 Robert Elves CLA 2008-04-08 20:00:42 EDT
Frank, be warned that you may want to hold off on this until after bug#217953 is addressed
Comment 3 Frank Becker CLA 2008-04-09 16:31:56 EDT
Created attachment 95420 [details]
patch

Rob,

is that what you requested?

Or did you meen that I change InteractionContextExternalizer.writeContext(InteractionContext, ZipOutputStream, IInteractionContextWriter).
Comment 4 Frank Becker CLA 2008-04-09 16:31:58 EDT
Created attachment 95421 [details]
mylyn/context/zip
Comment 5 Frank Becker CLA 2008-04-09 16:34:30 EDT
 (In reply to comment #2)
> Frank, be warned that you may want to hold off on this until after bug#217953 is
> addressed
Sorry I saw that comment to late. Maybe you should ignore my patch.
Comment 6 Steffen Pingel CLA 2009-01-29 02:05:10 EST
A common name "mylyn-tasks.xml.zip" is now defined in ITasksUiConstants and used by the drag support as well as the export.