Skip to content

Packages cannot be displayed after a user is deleted #23818

Closed
@vorlif

Description

@vorlif

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions