Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346452 - [server] Wrong ContentLocation for a clone
Summary: [server] Wrong ContentLocation for a clone
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 0.2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 10:09 EDT by Szymon Brandys CLA
Modified: 2011-09-01 11:42 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 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.