Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343540 - 405 error comparing two commits in remote view
Summary: 405 error comparing two commits in remote view
Status: RESOLVED DUPLICATE of bug 343505
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   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-04-21 10:05 EDT by John Arthorne CLA
Modified: 2011-08-30 10:22 EDT (History)
1 user (show)

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-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 ***