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

Packages cannot be displayed after a user is deleted #23818

Closed
vorlif opened this issue Mar 30, 2023 · 2 comments · Fixed by #23822
Closed

Packages cannot be displayed after a user is deleted #23818

vorlif opened this issue Mar 30, 2023 · 2 comments · Fixed by #23822

Comments

@vorlif
Copy link

vorlif commented Mar 30, 2023

Description

We have a user who has published packages. After the user is deleted, the packages page cannot be opened.

Gitea Version

1.18.5

Can you reproduce the bug on the Gitea demo site?

No / Not attempted, as relatively complex.

Log Gist

2023/03/30 12:21:07 .../web/user/package.go:60:ListPackages() [E] [64256293] GetPackageDescriptors: user does not exist [uid: 19, name: , keyid: 0]

Screenshots

image

Git Version

2.39.1

Operating System

Debian 11.6

How are you running Gitea?

  • Binary source: download from the Gitea site
  • Execution: Directly on the host system
  • Started via: systemd

Database

PostgreSQL

@lunny
Copy link
Member

lunny commented Mar 30, 2023

Is this still a problem of v1.19.0 ?

@vorlif
Copy link
Author

vorlif commented Mar 30, 2023

Is this still a problem of v1.19.0 ?

Yes, I can replicate it there, too. (binary downloaded from the Github releases)

@lunny lunny added this to the 1.19.1 milestone Mar 30, 2023
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Apr 4, 2023
lunny pushed a commit that referenced this issue Apr 4, 2023
Backport #23822 by @KN4CK3R

Fixes #23818

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants