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

Bug 343408

Summary: [server][git] GET /git/clone/something should return 404
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ClientAssignee: Tomasz Zarna <tomasz.zarna>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Malgorzata Janczarska CLA 2011-04-20 09:45:13 EDT
1. GET /git/clone/something
2. GET /git/clone -> in response we get repository "something"
{
    "ContentLocation": "something",
    "Id": "something",
    "Location": "http://localhost:8080/git/clone/something"
  }
Comment 1 Tomasz Zarna CLA 2011-04-21 04:42:39 EDT
There is no way for a GET request to create a clone, but the response is wrong. It should say 404.
Comment 2 Malgorzata Janczarska CLA 2011-04-21 05:58:52 EDT
(In reply to comment #1)
> There is no way for a GET request to create a clone, but the response is wrong.
> It should say 404.

Did you try to do the GET to /git/clone/something. Maybe it doesn't create a clone but for sure it ads an item to clones list that is return by GET /git/clone.
Comment 3 Tomasz Zarna CLA 2011-04-22 05:47:55 EDT
Created attachment 193908 [details]
mylyn/context/zip