fixes missing execute() in updateIssue()

Mon, 04 Jan 2021 15:31:24 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 04 Jan 2021 15:31:24 +0100
changeset 176
4da5b783aa2d
parent 175
1e6f2aace666
child 177
9884941a6d79

fixes missing execute() in updateIssue()

src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt file | annotate | diff | comparison | revisions
--- a/src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt	Mon Jan 04 15:25:59 2021 +0100
+++ b/src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt	Mon Jan 04 15:31:24 2021 +0100
@@ -680,6 +680,7 @@
     override fun updateIssue(issue: Issue) {
         val col = setIssueFields(stmtUpdateIssue, issue)
         stmtUpdateIssue.setInt(col, issue.id)
+        stmtUpdateIssue.execute()
         // TODO: improve by only inserting / deleting changed version information
         stmtClearAffectedVersions.setInt(1, issue.id)
         stmtClearResolvedVersions.setInt(1, issue.id)

mercurial