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

Bug 346452

Summary: [server] Wrong ContentLocation for a clone
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Szymon Brandys CLA 2011-05-19 10:09:15 EDT
I have repos cloned to top-level folders. JSON for the list of clones is:

{"Children": [
  {
    "BranchLocation": "/git/branch/file/a",
    "ContentLocation": "/file/a",
    "GitUrl": "ssh://sbrandys@dev.eclipse.org/gitroot/e4/org.eclipse.orion.server.git",
    "Id": "a",
    "Location": "/git/clone/file/a",
    "Name": "org.eclipse.orion.server",
    "RemoteLocation": "/git/remote/file/a"
  },
  {
    "BranchLocation": "/git/branch/file/b",
    "ContentLocation": "/file/b",
    "GitUrl": "ssh://sbrandys@dev.eclipse.org/gitroot/e4/org.eclipse.orion.client.git",
    "Id": "b",
    "Location": "/git/clone/file/b",
    "Name": "org.eclipse.orion.client",
    "RemoteLocation": "/git/remote/file/b"
  }
]}

ContentLocations should be /file/a/ and /file/b/, not /file/a and file/b. When I try to open the file navigator from the repo navigator (by clicking on the repo name) I got 403.