| Summary: | [server] GET on ContentLocation on Tag returns error 500 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Malgorzata Janczarska <malgorzata.tomczyk> | ||||
| Component: | Git | Assignee: | Tomasz Zarna <tomasz.zarna> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 0.3 | ||||||
| Target Milestone: | 0.3 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Fixed with ecb930fb898c084babf4f9cbaed22aa3d360a3e1. Created attachment 205035 [details]
mylyn/context/zip
|
Doing a GET on ContentLocation of a tag returns error 500: { "HttpCode": 500, "DetailedMessage": "One of setGitDir or setWorkTree must be called.", "Message": "Failed to handle tag request for tag1/file/a/", "Severity": "Error", "Code": 0 } I think it should return information about a tag (Name, FullName etc). Also tag representation doesn't have a Location. I think we should rather support Location than ContentLocation. Other entities in Orion support Location and ContentLocation if exists contains some extra information.