Bug 226214 - exported file name differs from file name when dragged from task list
Summary: exported file name differs from file name when dragged from task list
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: 3.1   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 248364
  Show dependency tree
 
Reported: 2008-04-08 19:46 EDT by Robert Elves CLA
Modified: 2009-01-29 02:05 EST (History)
1 user (show)

See Also:


Attachments
patch (1.26 KB, patch)
2008-04-09 16:31 EDT, Frank Becker CLA
no flags Details | Diff
mylyn/context/zip (2.17 KB, application/octet-stream)
2008-04-09 16:31 EDT, Frank Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.