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

Bug 343540

Summary: 405 error comparing two commits in remote view
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Project Inbox <e4.orion-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-04-21 10:05:48 EDT
HEAD as of 20110421

- Go to git remote view for a project using git
- Select two commits
- Compare With Each Other

-> Error 405 HTTP method GET is not supported by this URL

Here is the URL where the error occurred (this is viewing remote of org.eclipse.orion.client.git):

http://localhost:8080/compare-m.html?readonly#http://localhost:8080/git/diff/c968c551816cb5a399e2f237843a7fc42d6e62fc..c044ddc9bda7f037d7e6a8cd570ddaa3a336f17d/file/D
Comment 1 Szymon Brandys CLA 2011-04-21 10:33:16 EDT
I think it is a duplicate of Bug 343505. Compare action opens Compare UI showing differences between two (file) contents. So it really works well only when commits contain changes to only one file. Otherwise it should be disabled or hidden. Maybe later we can handle this case with some structure compare UI.
Comment 2 Szymon Brandys CLA 2011-04-21 10:33:59 EDT
.

*** This bug has been marked as a duplicate of bug 343505 ***