500 when deleting repository that has more than one issues #1191
Labels
issue/critical
This issue should be fixed ASAP. If it is a PR, the PR should be merged ASAP
type/bug
Milestone
[x]
):2017/03/10 13:57:34 [I] [sql] DELETE FROM
repository
WHEREid
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
access
WHERErepo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
action
WHERErepo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
watch
WHERErepo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
star
WHERErepo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
mirror
WHERErepo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
milestone
WHERErepo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
release
WHERErepo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
collaboration
WHERErepo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
pull_request
WHEREbase_repo_id
=? [args] [410]2017/03/10 13:57:34 [I] [sql] SELECT
id
FROMissue
WHERE repo_id=? [args] [410]2017/03/10 13:57:34 [I] [sql] DELETE FROM
comment
WHERE issue_id IN (?,?,?) [args] [984 985 986]2017/03/10 13:57:34 [I] [sql] DELETE FROM
issue_user
WHERE issue_id IN (?,?,?) [args] [984 985 986]2017/03/10 13:57:34 [I] [sql] SELECT
id
,uuid
,issue_id
,comment_id
,release_id
,name
,created_unix
FROMattachment
WHERE issue_id=? IN (?,?,?) [args] [984 985 986]2017/03/10 13:57:34 [I] [sql] ROLL BACK
2017/03/10 13:57:34 [...ters/repo/setting.go:303 SettingsPost()] [E] DeleteRepository: Not enough args to execute query. Expected 4, got 3.
2017/03/10 13:57:34 [D] Template: status/500
To reproduce:
The text was updated successfully, but these errors were encountered: