| Summary: | orionhub.org git-config page fails: cloneDetails panel input validation bug | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John J. Barton <johnjbarton> |
| Component: | Git | Assignee: | Project Inbox <orion.git-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.4 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Some of the errors I get from http://orionhub.org/git/git-clone.html#/workspace/GC --------- message: "Unable to load http://orionhub.org/prefs/user/plugins status:404" responseText: "{"HttpCode":404,"Message":"No preferences found for path /user/plugins","Severity":"Error","Code":0}" ---------- message: "Unable to load ../gitapi/clone/workspace/GC status:500" responseText: "{"HttpCode":500,"DetailedMessage":"Repository config file /home/admin/current/eclipse/serverworkspace/jo/johnjbarton@johnjbarton.com/PQ/.git/config invalid Cannot read file /home/admin/current/eclipse/serverworkspace/jo/johnjbarton@johnjbarton.com/PQ/.git/config","Message":"Failed to handle /git/clone request for workspace/GC","Severity":"Error","Code":0}" -------- message: "Unable to load ../gitapi/clone/workspace/GC status:500" responseText: "{"HttpCode":500,"DetailedMessage":"Repository config file /home/admin/current/eclipse/serverworkspace/jo/johnjbarton@johnjbarton.com/PQ/.git/config invalid Cannot read file /home/admin/current/eclipse/serverworkspace/jo/johnjbarton@johnjbarton.com/PQ/.git/config","Message":"Failed to handle /git/clone request for workspace/GC","Severity":"Error","Code":0}" Two copies of Chrome and one of Firefox give same result Setting "disable network cache" in WebInspector, localStorage.clear(), and Ctrl_Shift_R did not fix this. Your Git repository is corrupt. Even command line git fails here. This could be a JGit but since Orion doesn't ever touch these files directly. admin@orionhub:~/current/eclipse/serverworkspace/jo/johnjbarton@johnjbarton.com/PQ> git status fatal: bad config file line 15 in .git/config admin@orionhub:~/current/eclipse/serverworkspace/jo/johnjbarton@johnjbarton.com/PQ> cat .git/config [core] repositoryformatversion = 0 filemode = false logallrefupdates = true autocrlf = false [remote "origin"] url = https://johnjbarton@github.com/johnjbarton/crx2app.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [user] name = johnjbarton email = email\ = johnjbarton@johnjbarton.com I manually fixed the typo in your git config file. Can you try again? (In reply to comment #3) > I manually fixed the typo in your git config file. Can you try again? Yes! That's it. So the bug is in the Repository Configuration slide out on the RHS of git-clone. I remember having to set my user.name and user.email (for the millionth time) in that UI for the crx2app project when I cloned it. 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 |
get stack: function getter() { [native code] } message: "Unable to load ../gitapi/clone/workspace/GC status:500" responseText: "{"HttpCode":500,"DetailedMessage":"Repository config file /home/admin/current/eclipse/serverworkspace/jo/johnjbarton@johnjbarton.com/PQ/.git/config invalid Cannot read file /home/admin/current/eclipse/serverworkspace/jo/johnjbarton@johnjbarton.com/PQ/.git/config","Message":"Failed to handle /git/clone request for workspace/GC","Severity":"Error","Code":0}" set stack: function setter() { [native code] } status: 500 type: undefined __proto__: ErrorPrototype