Bug 78445 - C/C++ Projects view shows too many projects on import
Summary: C/C++ Projects view shows too many projects on import
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 17:02 EST by PalmSource Eclipse Bug Tracker CLA
Modified: 2020-09-04 15:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PalmSource Eclipse Bug Tracker CLA 2004-11-11 17:02:29 EST
Setup:

1. Create a Standard Make C Project named "Fred".
2. Select it in the C/C++ Projects view and right-click "File -> Export..." in 
the menu bar to bring up the "Export" dialog box. 
3. Select "Zip file" item. 
4. Click "Next" button. 
5. Enter "c:\tmp\Fred.zip" in the "To zip file:" text field. 
6. Click "Finish" button to export the project. 
7. On project Fred, right-click "Edit -> Delete" to bring up the "Confirm 
Project Delete" dialog box. 
8. Select the "Also delete contents under '/Fred' " radio box. 
9. Click "Yes" button to remove the project from the C/C++ Projects view.. 
10. Click "File ->New ->Project" in the menu bar to bring up the "New Project" 
dialog box. 
11. Click the "Simple" item node to expand it. 
12. Select "Project" item. 
13. Click "Next" button. 
14. Enter "Fred" in the "Project name:" text field. 
15. Click "Finish" button to create a empty project. 
16. Click "File -> Import..." in the menu bar to bring up the "Import" dialog 
box. 
17. Select "Zip file" item. 
18. Click "Next" button. 
19. Enter "c:\tmp\Fred.zip" in the "From zip file:" text field. 
20. Enter "/" in the "Into folder:" text field. 
21. Click "Finish" button to bring up a "Question" dialog box.
22. Click "Yes"
23. Observe that Fred has been reimported into PODS.

Actual Result:
After reimporting, there are two projects with the same name (Fred) in 
the projects tree in the C/C++ Projects view. 

Expected Result:
Only one project is present. Note that after restarting the IDE the correct 
number of projects is present (1).  Also note that the Navigator view only 
shows 1 project even before the restart, hence the problem is specific to the 
C/C++ Projects view.