Browse Source

Merge branch 'nztqa-fix-copy-card' into devel

Fix Data inconsistency when copying card.
Thanks to nztqa ! Related #1218
Lauri Ojansivu 7 years ago
parent
commit
6ec14ee52b
2 changed files with 9 additions and 0 deletions
  1. 8 0
      CHANGELOG.md
  2. 1 0
      client/components/cards/cardDetails.js

+ 8 - 0
CHANGELOG.md

@@ -1,3 +1,11 @@
+# Upcoming Wekan relelase
+
+This release fixes the following bugs:
+
+* [Data inconsistency when copying card](https://github.com/wekan/wekan/pull/1246). Note: There is no feature for copying card attachment yet.
+
+Thanks to Github user nztqa for contributions.
+
 # v0.44 2017-09-30 Wekan release
 
 This release adds the following new features:

+ 1 - 0
client/components/cards/cardDetails.js

@@ -220,6 +220,7 @@ Template.copyCardPopup.events({
 
     if (title) {
       card.title = title;
+      card.coverId = '';
       const _id = Cards.insert(card);
       // In case the filter is active we need to add the newly inserted card in
       // the list of exceptions -- cards that are not filtered. Otherwise the