Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360667 - [server] Error 500 displaying git log for local branch created for tag
Summary: [server] Error 500 displaying git log for local branch created for tag
Status: RESOLVED DUPLICATE of bug 360641
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.3 RC2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 360193
  Show dependency tree
 
Reported: 2011-10-12 09:52 EDT by Malgorzata Janczarska CLA
Modified: 2011-10-17 06:11 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 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 ***