Assignees are not handled consistently in the issue timeline (assignee becomes Ghost, assignee_team becomes null) #14951

Open
opened 2025-11-02 11:26:37 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @dmach on GitHub (Sep 12, 2025).

Description

When you request pull-request reviews from a user and from a team and delete them, you end up with different results in the timeline.

The deleted user becomes a Ghost user with id -1

"assignee": {
    "id": -1,
    "login": "Ghost",
    ...
}
"assignee_team": null

The deleted team becomes null:

"assignee": null,
"assignee_team": null

Gitea Version

1.24.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

a custom test container

Database

SQLite

Originally created by @dmach on GitHub (Sep 12, 2025). ### Description When you request pull-request reviews from a user and from a team and delete them, you end up with different results in the timeline. The deleted user becomes a Ghost user with id `-1` ``` "assignee": { "id": -1, "login": "Ghost", ... } "assignee_team": null ``` The deleted team becomes null: ``` "assignee": null, "assignee_team": null ``` ### Gitea Version 1.24.2 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? a custom test container ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 11:26:37 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14951