go-gitea/gitea

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

Opened this issue · 0 comments

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