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

Bug 347323

Summary: [server] GET on RemoteLocation for non existing branch returns 405, but should be 404
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tomasz.zarna
Version: 0.2Flags: Szymon.Brandys: review+
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 349106    

Description Szymon Brandys CLA 2011-05-26 10:11:14 EDT
Steps:
1) GET http://localhost:8080/git/commit/myBranch2/file/h/?page=1
2) In the rsponse there is RemoteLocation: "/git/remote/origin/myBranch/file/h/" pointing at the default remote branch (it does not exist yet)
3) GET http://localhost:8080/git/remote/origin/myBranch2/file/h/

Returns 405
Comment 1 Malgorzata Janczarska CLA 2011-06-16 09:54:01 EDT
done