Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347323 - [server] GET on RemoteLocation for non existing branch returns 405, but should be 404
Summary: [server] GET on RemoteLocation for non existing branch returns 405, but shoul...
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 349106
  Show dependency tree
 
Reported: 2011-05-26 10:11 EDT by Szymon Brandys CLA
Modified: 2011-09-01 11:42 EDT (History)
1 user (show)

See Also:
Szymon.Brandys: review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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