Closed
Description
Description
One of our users created a pull request and his account was deleted later on. Attempting to open this pull request results in the standard error page with return code 500. Other pull requests created by the same account are fine.
Attempting to open the pull requests results in Gitea logging the following line:
2024/02/13 11:32:58 ...rs/web/repo/issue.go:1405:ViewIssue() [E] LoadAttributes: user does not exist [uid: 47, name: , keyid: 0]
Behavior is independent of the permissions of the account used to open the page. No other errors are logged.
Gitea Version
v1.21.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian 12
How are you running Gitea?
Packages provided by gitea on Github
Database
PostgreSQL