Milestone statistics not being recalculated on issue delete #9613

Closed
opened 2025-11-02 08:44:32 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @stuzer05 on GitHub (Sep 24, 2022).

Description

When you delete issues from milestone, milestone's "completed" and "# closed issues" field not being recalculated.

To replicate this issue:

  1. create a milestone
  2. create any number of issues
  3. close any number of issues
  4. delete closed issue
  5. Milestone's statistics will be broken

Gitea Version

1.18.0+dev-450-g10228387d

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image
image

Git Version

No response

Operating System

No response

How are you running Gitea?

gitea's demo site

Database

No response

Originally created by @stuzer05 on GitHub (Sep 24, 2022). ### Description When you delete issues from milestone, milestone's "completed" and "# closed issues" field not being recalculated. To replicate this issue: 1. create a milestone 2. create any number of issues 3. close any number of issues 4. delete closed issue 5. Milestone's statistics will be broken ### Gitea Version 1.18.0+dev-450-g10228387d ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots ![image](https://user-images.githubusercontent.com/23124682/192090513-b2662e29-06d0-4f5e-bc67-4224c1897c68.png) ![image](https://user-images.githubusercontent.com/23124682/192090525-49d77498-9518-46f4-b2df-9e8ccfcea67a.png) ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? gitea's demo site ### Database _No response_
GiteaMirror added the type/bug label 2025-11-02 08:44:32 -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#9613