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

Bug 419760

Summary: [server] Server should not allow creation of a project with a reserved name
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne, simon_kaegi
Version: 4.0Flags: john.arthorne: review+
simon_kaegi: review+
Target Milestone: 4.0 RC3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2013-10-17 15:54:33 EDT
With Bug 419635 we added protection code to handle when a user has a project named "workspace". This does not go far enough and it is still broken if you create a project named "workspace1" then created a project named "workspace".

We already have logic in WorkspaceResourceHandler#validateProjectName to handle rejection of a project named '.metadata", we need to expand with other reserved names.
Comment 2 John Arthorne CLA 2013-10-18 12:23:56 EDT
Reviewed and ran the tests. All good.