My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3081: Cannot view file diff on web page, but patch file download is available.
4 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by KeySabr...@gmail.com, Dec 27, 2014
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version: 2.9.3

What steps will reproduce the problem?
1. Push the change.
2. Browse Gerrit web to view my change.
3. Cannot view file diff of the change, it says "The page you requested was not found, or you do not have permission to view this page."

What is the expected output? What do you see instead?
1. I should be supposed to view the file diff, but it says "The page you requested was not found, or you do not have permission to view this page." (file after_click_file_diff.png)
2. I can download patch file which contains file diff, why can't I view it on web page? (patch_file_is_available.png)
3. If it's caused by lack of permission, why doesn't Gerrit show the permission name for user? Which permission?

Please provide any additional information below.

change_page.png
115 KB   View   Download
after_click_file_diff.png
114 KB   View   Download
patch_file_is_available.png
100 KB   View   Download
Jan 6, 2015
Project Member #1 david.pu...@sonymobile.com
Is there any error in Gerrit's log file (if you have access to it)?

Or can you see any REST API errors via the developer tools in Chrome or Firefox?
Jan 8, 2015
#2 KeySabr...@gmail.com
Please check attachment.
chrome_console_err.png
231 KB   View   Download
Jan 8, 2015
#3 KeySabr...@gmail.com
(No comment was entered for this change.)
chrome_console_err_404.png
100 KB   View   Download
Aug 7, 2015
#4 freh...@marlysys.com
i have the same problem .. for a file on the root it works fine

	LICENSE
But for file like this in the code review
	doc/source/apidoc.rst
it gives the error.

i have tried everything as told on the gerrit.config and apache proxy configuration but nothing seems to work

Aug 10, 2015
Project Member #5 edwin.ke...@gmail.com
If you use Apache as reverse proxy, have a look at:
  https://gerrit-review.googlesource.com/Documentation/config-reverseproxy.html#_troubleshooting
Aug 17, 2015
#6 KeySabr...@gmail.com
Changing URL by hand fixes this.
For example,
original URL: http://192.168.1.229:8081/gerrit/#/c/391/ <-- cannot view diff
change to: http://192.168.1.229:28888/#/c/391/ <-- now diff is available
Sign in to add a comment

Powered by Google Project Hosting