Jelajahi Sumber

Fix: Trello board import fails because of missing "Swimlane id".
Thanks to xet7 ! Closes #1442

Lauri Ojansivu 7 tahun lalu
induk
melakukan
65c081acc0
3 mengubah file dengan 11 tambahan dan 0 penghapusan
  1. 8 0
      CHANGELOG.md
  2. 2 0
      models/trelloCreator.js
  3. 1 0
      models/wekanCreator.js

+ 8 - 0
CHANGELOG.md

@@ -1,3 +1,11 @@
+# Upcoming Wekan release
+
+This release fixes the following bugs:
+
+* [Fix: Trello board import fails because of missing "Swimlane id"](https://github.com/wekan/wekan/issues/1442).
+
+Thanks to GitHub user xet7 for contributions.
+
 # v0.67 2018-01-28 Wekan release
 
 This release fixes the following bugs:

+ 2 - 0
models/trelloCreator.js

@@ -149,6 +149,7 @@ export class TrelloCreator {
         isAdmin: true,
         isActive: true,
         isCommentOnly: false,
+        swimlaneId: false,
       }],
       permission: this.getPermission(trelloBoard.prefs.permissionLevel),
       slug: getSlug(trelloBoard.name) || 'board',
@@ -175,6 +176,7 @@ export class TrelloCreator {
               isAdmin: this.getAdmin(trelloMembership.memberType),
               isActive: true,
               isCommentOnly: false,
+              swimlaneId: false,
             });
           }
         }

+ 1 - 0
models/wekanCreator.js

@@ -146,6 +146,7 @@ export class WekanCreator {
         isActive: true,
         isAdmin: true,
         isCommentOnly: false,
+        swimlaneId: false,
       }],
       // Standalone Export has modifiedAt missing, adding modifiedAt to fix it
       modifiedAt: this._now(boardToImport.modifiedAt),