Merge pull request #1084 from nasa/transaction-clearing-1059

[Persistence] Clear transactions selectively
This commit is contained in:
Andrew Henry
2016-07-15 16:20:19 -07:00
committed by GitHub
10 changed files with 344 additions and 135 deletions

View File

@@ -152,6 +152,10 @@ define(
}, modified);
}
if (domainObject.getModel().persisted === undefined) {
return this.$q.when(true);
}
return this.persistenceService.readObject(
this.getSpace(),
this.getKey()