Skip to content
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

Issues - Do not bail out on non-existing users, say something like 'unknown user' instead #3314

Closed
2 of 7 tasks
ToeiRei opened this issue Jan 6, 2018 · 0 comments · Fixed by #3318
Closed
2 of 7 tasks
Labels
Milestone

Comments

@ToeiRei
Copy link

ToeiRei commented Jan 6, 2018

  • Gitea version (or commit ref): 8ef1711
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
2018/01/06 21:35:02 [...outers/repo/issue.go:706 ViewIssue()] [E] LoadAssignees: user does not exist [uid: 9, name: , keyid: 0]

Description

If you delete an user and that user is assigned to tickets, you cannot view/edit them as gitea bails out with an error 500

@lunny lunny added this to the 1.4.0 milestone Jan 7, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants