We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
routers/repo.ViewIssue()
This URL serves a blank page if you are not authenticated: https://try.gitea.io/gitea/gitea/issues/6
\cc @bkcsoft @lunny @appleboy @tboerger (someone who can check the logs?)
The text was updated successfully, but these errors were encountered:
Logs:
[Macaron] PANIC: runtime error: invalid memory address or nil pointer dereference [ ... useless internals ... ] /srv/app/src/code.gitea.io/gitea/routers/repo/issue.go:468 (0x559181c64448) [ ... useless internals ... ] [Macaron] Completed /gitea/gitea/issues/1 500 Internal Server Error in 275.68255ms
Current Gitea-version: 1.1.0+137-g3012971e Panic here:
gitea/routers/repo/issue.go
Line 468 in 3012971
My best guess is that ctx.User isn't populated (nil) if one isn't logged in.
ctx.User
nil
Sorry, something went wrong.
Sounds like a correct analisys. So we need a testcase and after that, a fix...
Correction: we need a fix that includes a test-case 🙂
Successfully merging a pull request may close this issue.
This URL serves a blank page if you are not authenticated:
https://try.gitea.io/gitea/gitea/issues/6
\cc @bkcsoft @lunny @appleboy @tboerger (someone who can check the logs?)
The text was updated successfully, but these errors were encountered: