summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md5
-rw-r--r--models/wekanCreator.js3
2 files changed, 5 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 008e5608..a1f365c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,9 +17,10 @@ and fixes the following bugs:
* [Fix Squeezed tickbox in Card](https://github.com/wekan/wekan/pull/1171);
* [Percent-encode SMTP password to prevent URI malformed
- errors](https://github.com/wekan/wekan/pull/1190).
+ errors](https://github.com/wekan/wekan/pull/1190);
+* [Fix Wekan Import Export on Standalone and Sandstorm](https://github.com/wekan/wekan/pull/1197).
-Thanks to GitHub users andresmanelli, danhawkes, jonasob, kubiko, nztqa,
+Thanks to GitHub users andresmanelli, danhawkes, GhassenRjab, jonasob, kubiko, nztqa,
pkuhner and xet7 for their contributions.
# v0.32 2017-07-30 Wekan release
diff --git a/models/wekanCreator.js b/models/wekanCreator.js
index b5f9b0ff..36e5e1ca 100644
--- a/models/wekanCreator.js
+++ b/models/wekanCreator.js
@@ -71,7 +71,6 @@ export class WekanCreator {
checkActivities(wekanActivities) {
check(wekanActivities, [Match.ObjectIncluding({
- userId: String,
activityType: String,
createdAt: DateString,
})]);
@@ -141,6 +140,8 @@ export class WekanCreator {
isActive: true,
isCommentOnly: false,
}],
+ // Standalone Export has modifiedAt missing, adding modifiedAt to fix it
+ modifiedAt: this._now(wekanBoard.modifiedAt),
permission: wekanBoard.permission,
slug: getSlug(wekanBoard.title) || 'board',
stars: 0,