You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ashley Nelson 82ecd3b19e
Update milestone counters when issue is deleted (#21459)
When actions besides "delete" are performed on issues, the milestone
counter is updated. However, since deleting issues goes through a
different code path, the associated milestone's count wasn't being
updated, resulting in inaccurate counts until another issue in the same
milestone had a non-delete action performed on it.

I verified this change fixes the inaccurate counts using a local docker
build.

Fixes #21254

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
Test_deleteOrphanedIssueLabels Create Proper Migration Tests (#15116) 3 years ago
Test_remigrateU2FCredentials Attempt to fix the webauthn migration again - part 3 (#18770) 2 years ago
Test_removeInvalidLabels Create Proper Migration Tests (#15116) 3 years ago
Test_storeWebauthnCredentialIDAsBytes WebAuthn CredentialID field needs to be increased in size (#20530) 2 years ago
Test_unwrapLDAPSourceCfg Refactor: Move login out of models (#16199) 3 years ago
Test_updateOpenMilestoneCounts Update milestone counters when issue is deleted (#21459) 2 years ago