diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2020-04-16 09:29:28 +0800 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2020-04-18 12:30:39 +0100 |
commit | 55fb26bf5bb3ca81ae35426efa9b2410e206c8b2 (patch) | |
tree | 7047c0c21ff4fdf0c8f8d64ba39d18d295f199e9 /releasenotes/notes | |
parent | 55aa9cd749f3ff0de430c8f04c687d691c3a703a (diff) | |
download | patchwork-55fb26bf5bb3ca81ae35426efa9b2410e206c8b2.tar patchwork-55fb26bf5bb3ca81ae35426efa9b2410e206c8b2.tar.gz |
parser: don't trigger database IntegrityErrors on duplicate coverletters
As we've done for the Patch and Comment models, this change prevents
database errors from duplicate CoverLetters.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stephen Finucane <stephen@that.guru>
[stephenfin: Add release note]
Diffstat (limited to 'releasenotes/notes')
-rw-r--r-- | releasenotes/notes/issue-358-7d664318a19385fa.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/releasenotes/notes/issue-358-7d664318a19385fa.yaml b/releasenotes/notes/issue-358-7d664318a19385fa.yaml new file mode 100644 index 0000000..a0eeaa0 --- /dev/null +++ b/releasenotes/notes/issue-358-7d664318a19385fa.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + The parser module now uses an atomic select-insert when creating new patch, + cover letter and comment entries. This prevents the integrity errors from + being logged in the DB logs. + (`#358 <https://github.com/getpatchwork/patchwork/issues/358>`__) |