-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"call of nil" exception when comparing images #8226
Comments
Today I caught a similar error when opening a commit.
|
@saitho The easiest way to reproduce this problem is to check a commit that adds an image. The problem is that the commit URL is: Line 193 in f8882f4
I've noticed that you've authored #6784 . Is it possible for you to create a new PR fixing this problem? Perhaps a temporary workaround is to change: gitea/templates/repo/diff/box.tmpl Lines 113 to 115 in f8882f4
Into something like:
Or something around those lines (I'm not quite familiar with macaron syntax). |
Thanks for your analysis. I added the missing lines (probably lost while rebasing branches) and did some minor adjustments to the image compare functionality. :D |
Description
Opening a pull request that adds or modifies an image works fine.
However in the file view of the pull request an error is thrown:
The text was updated successfully, but these errors were encountered: