mirror of https://github.com/go-gitea/gitea.git
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.
e61e9a36b7
fix a bug from #30490 `prs.GetIssueIDs()` will also be used in other places, e.g. `InvalidateCodeComments` so we should not add `if pr.Issue == nil` in it, or if `pr.Issue` is already loaded, you will not get the issueID in the results list and this is not an expected result. So this will caused a bug: before calling `InvalidateCodeComments`, all `pr.Issues` in `prs` are loaded, so `issueIDs` in this function will always be `[]`. ![image](https://github.com/go-gitea/gitea/assets/18380374/ef94d9d2-0bf9-455a-abd6-4d5e6497db7c) |
8 months ago | |
---|---|---|
.. | ||
assignees.go | 8 months ago | |
assignees_test.go | 1 year ago | |
comment.go | 8 months ago | |
comment_code.go | 8 months ago | |
comment_list.go | 8 months ago | |
comment_test.go | 1 year ago | |
content_history.go | 11 months ago | |
content_history_test.go | 11 months ago | |
dependency.go | 1 year ago | |
dependency_test.go | 1 year ago | |
issue.go | 8 months ago | |
issue_index.go | 1 year ago | |
issue_label.go | 8 months ago | |
issue_label_test.go | 1 year ago | |
issue_list.go | 8 months ago | |
issue_list_test.go | 2 years ago | |
issue_lock.go | 1 year ago | |
issue_project.go | 8 months ago | |
issue_search.go | 8 months ago | |
issue_stats.go | 10 months ago | |
issue_test.go | 11 months ago | |
issue_update.go | 8 months ago | |
issue_user.go | 1 year ago | |
issue_user_test.go | 2 years ago | |
issue_watch.go | 1 year ago | |
issue_watch_test.go | 1 year ago | |
issue_xref.go | 11 months ago | |
issue_xref_test.go | 9 months ago | |
label.go | 11 months ago | |
label_test.go | 1 year ago | |
main_test.go | 1 year ago | |
milestone.go | 11 months ago | |
milestone_list.go | 11 months ago | |
milestone_test.go | 11 months ago | |
pull.go | 8 months ago | |
pull_list.go | 8 months ago | |
pull_test.go | 11 months ago | |
reaction.go | 10 months ago | |
review.go | 9 months ago | |
review_list.go | 10 months ago | |
review_test.go | 10 months ago | |
stopwatch.go | 1 year ago | |
stopwatch_test.go | 1 year ago | |
tracked_time.go | 9 months ago | |
tracked_time_test.go | 11 months ago |