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

Bug 360667

Summary: [server] Error 500 displaying git log for local branch created for tag
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: GitAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 0.3   
Target Milestone: 0.3 RC2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 360193    

Description Malgorzata Janczarska CLA 2011-10-12 09:52:16 EDT
1. Use git API to checkout Tag as a branch
2. Try to display the branch log
GET /gitapi/commit/tag_tag1/file/a/?page=1
{

    "HttpCode": 500,
    "DetailedMessage": "Object 38740da2868dfdd0c28d1fd0be0dfe6a59ecde8c is not a commit.",
    "Message": "Failed to process an operation on commits for tag_tag1/file/a/",
    "Severity": "Error",
    "Code": 0

}
When I use command line I can do "git log" and it works.
Comment 1 Malgorzata Janczarska CLA 2011-10-12 09:54:57 EDT
This is potentially a duplicate of Bug 360641.
Comment 2 Tomasz Zarna CLA 2011-10-17 06:11:51 EDT
(In reply to comment #1)
> This is potentially a duplicate of Bug 360641.

It is indeed. The steps from comment 0 work for me with bug bug 360641 fixed.

*** This bug has been marked as a duplicate of bug 360641 ***