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

Bug 408053

Summary: Project copy/move fails with server context path
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2013-05-14 15:05:19 EDT
When there is a non-empty servlet context path, project copy/move/rename does not work. The request body provides the source project location, which includes the context path. The path is being interpreted assuming no context path and therefore fails to find the source project.
Comment 1 John Arthorne CLA 2013-05-14 15:07:07 EDT
The bug is reproducible as follows:

1) Change ServerTestsActivator.getServerLocation to add "/cc" context path
2) Uncomment the following line in WebApplication.start:

   properties.put(JettyConstants.CONTEXT_PATH, "/cc");

3) Run WorkspaceServerTest.

-> There are three failures, for copy, move, and rename tests.