Bug 191662 - [Import/Export] Warn of duplicate projects in project import wizard
Summary: [Import/Export] Warn of duplicate projects in project import wizard
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.4 M4   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard: hasPatch
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2007-06-08 05:19 EDT by Krzysztof Daniel CLA
Modified: 2007-12-11 10:47 EST (History)
0 users

See Also:
krzysztof.daniel: review? (Tod_Creasey)


Attachments
Patch that adds warning when not all files are displayed (3.68 KB, patch)
2007-11-07 07:55 EST, Krzysztof Daniel CLA
no flags Details | Diff
The same patch but better formatted (3.70 KB, patch)
2007-11-07 07:59 EST, Krzysztof Daniel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Daniel CLA 2007-06-08 05:19:46 EDT
Build ID: I20070601-1539

Steps To Reproduce:
1. Create a project.
2. Export it to *.zip file.
3. Close the project.
4. Try to import it.
5. Empty projects list.


More information:
This is pretty annoying, since I am using mylar and a workspace with many closed projects. If I try to import a project that already exists, I see nothing and I am pretty confused (there is no warning).
Comment 1 Tod Creasey CLA 2007-06-08 16:29:57 EDT
The project import intentionally removews exiting projects to prevent loss of work
Comment 2 Krzysztof Daniel CLA 2007-06-09 02:32:32 EDT
Tod,

I suppose current behavior is intentional. One thing I would like to see is warning, that some projects (names) have been hidden because they already exists in the workspace.
Comment 3 Tod Creasey CLA 2007-06-11 08:31:21 EDT
Reopening with feature request
Comment 4 Krzysztof Daniel CLA 2007-11-07 07:55:43 EST
Created attachment 82318 [details]
Patch that adds warning when not all files are displayed
Comment 5 Krzysztof Daniel CLA 2007-11-07 07:59:12 EST
Created attachment 82321 [details]
The same patch but better formatted
Comment 6 Tod Creasey CLA 2007-11-26 13:20:18 EST
This patch is fine for now as it gives a warning. In the end it would be better if we could show the projects we are not importing and optionally let people import them anyways.
Comment 7 Tod Creasey CLA 2007-11-26 13:49:19 EST
Patch released for build >20071126
Comment 8 Tod Creasey CLA 2007-12-11 10:47:36 EST
Verified in I20071211-0010