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

Bug 420679

Summary: [server] project deletion can leave file contents on server
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2013-10-29 17:21:52 EDT
As a result of the problem described in Bug 420677 [server] simple metadata storage does not handle a missing orion.file.layout option , the workspace handler deletes the project, but the project contents are left on disk.

If you immediately try to create a project with the same name, you either get the old project contents or a new project with the name appended with "-2"

This problem does not occur with the default legacy metastore.
Comment 1 Anthony Hunter CLA 2013-10-30 11:36:20 EDT
The WorkspaceResourceHandler.removeProject() needs to add the workspace folder in the case where the server is running the simple meta storage.