Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363618 - Errors in git status with new remote
Summary: Errors in git status with new remote
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 15:10 EST by John Arthorne CLA
Modified: 2015-05-05 16:01 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 John Arthorne CLA 2011-11-11 15:10:28 EST
I20111110-2200

- Created a new bare repository on GitHub
- In orion, init a new git repository
- In the Repositories page, add the github repository as the "origin" remote
- Go to Git status page.

I see these errors in the log. It looks like it is not handling the fact that the remote doesn't yet have any branches. It is expected that the remote doesn't exist yet here but it shouldn't be dumping all these errors on the console.


GET http://orion.eclipse.org/gitapi/remote/origin/master/file/DC/ 404 (Not Found)
built-git-status.js:606
Error
built-git-status.js:1909HTTP status code:  404
built-git-status.js:518
Error
arguments: undefined
get stack: function getter() { [native code] }
message: "Unable to load /gitapi/remote/origin/master/file/DC/ status:404"
responseText: "{"JsonData":{"CloneLocation":"http://orion.eclipse.org/gitapi/clone/file/DC/"},"HttpCode":404,"Message":"No remote branch found: origin/master","Severity":"Error","Code":0}"
set stack: function setter() { [native code] }
status: 404
type: undefined
__proto__: ErrorPrototype
built-git-status.js:518
Error
arguments: undefined
get stack: function getter() { [native code] }
message: "Unable to load /gitapi/remote/origin/master/file/DC/ status:404"
responseText: "{"JsonData":{"CloneLocation":"http://orion.eclipse.org/gitapi/clone/file/DC/"},"HttpCode":404,"Message":"No remote branch found: origin/master","Severity":"Error","Code":0}"
set stack: function setter() { [native code] }
status: 404
type: undefined
__proto__: ErrorPrototype
built-git-status.js:518
Error
arguments: undefined
get stack: function getter() { [native code] }
message: "Unable to load /gitapi/remote/origin/master/file/DC/ status:404"
responseText: "{"JsonData":{"CloneLocation":"http://orion.eclipse.org/gitapi/clone/file/DC/"},"HttpCode":404,"Message":"No remote branch found: origin/master","Severity":"Error","Code":0}"
set stack: function setter() { [native code] }
status: 404
type: undefined
__proto__: ErrorPrototype
GET http://orion.eclipse.org/gitapi/remote/origin/master/file/DC/?page=1&pageSize=5 404 (Not Found)
built-git-status.js:606
Error
arguments: undefined
get stack: function getter() { [native code] }
message: "Unable to load /gitapi/remote/origin/master/file/DC/?page=1&pageSize=5 status:404"
responseText: "{"JsonData":{"CloneLocation":"http://orion.eclipse.org/gitapi/clone/file/DC/"},"HttpCode":404,"Message":"No remote branch found: origin/master","Severity":"Error","Code":0}"
set stack: function setter() { [native code] }
status: 404
type: undefined
__proto__: ErrorPrototype
Comment 1 John Arthorne CLA 2015-05-05 15:47:41 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 2 John Arthorne CLA 2015-05-05 16:01:08 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html