]> source.dussan.org Git - gitea.git/commit
Add missing database transaction for new issue (#29490) (#29607)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 5 Mar 2024 16:37:55 +0000 (00:37 +0800)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2024 16:37:55 +0000 (16:37 +0000)
commit5667ef9aabc4069cbaa6a5c18181f9429376b48d
tree52213b2a46667696acdd138b75ebd2ae1b502714
parent02df269d2449462d7471a01b265be21bb5706fa2
Add missing database transaction for new issue (#29490) (#29607)

When creating an issue, inserting issue, assign users and set project
should be in the same transaction.

Backport #29490
models/issues/issue_project.go
routers/api/v1/repo/issue.go
routers/web/org/projects.go
routers/web/repo/issue.go
routers/web/repo/projects.go
routers/web/repo/pull.go
services/issue/issue.go