Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348775 - [server][git]Error 500 on git diff when repository is in subfolder
Summary: [server][git]Error 500 on git diff when repository is in subfolder
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 0.2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 12:23 EDT by Malgorzata Janczarska CLA
Modified: 2011-09-01 11:43 EDT (History)
1 user (show)

See Also:
malgorzata.tomczyk: review+


Attachments
mylyn/context/zip (5.85 KB, application/octet-stream)
2011-06-09 10:16 EDT, Tomasz Zarna CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malgorzata Janczarska CLA 2011-06-08 12:23:36 EDT
1. Clone a reporitory into a subfolder of a project
2. Go to git log for the repository
3. Select a commit on UI, to open commit details (on the right)
4. In "Commit diffs" section in commit details click "Shof diff" action on the right of the file name
5. Compare editory opens with no content and error message for each site (example: Unable to load /gitapi/diff/92590403058b6f1cfbf0c432674fa3b56fe9821e..86ee7ffe99a716bd4826de6b39436d0535883903/file/a/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js?parts=diff status:500)
In console I can see that GET http://localhost:8080/gitapi/diff/92590403058b6f1cfbf0c432674fa3b56fe9821e..86ee7ffe99a716bd4826de6b39436d0535883903/file/a/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js?parts=diff is made and the response is 500 with message:
Failed to generate diff for 92590403058b6f1cfbf0c432674fa3b56fe9821e..86ee7ffe99a716bd4826de6b39436d0535883903/file/a/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js
Comment 1 Tomasz Zarna CLA 2011-06-09 10:16:17 EDT
Created attachment 197697 [details]
mylyn/context/zip