Removed use of composition and mutation because they trigger the search indexer too early and it tries to retrieve objects that have not been persisted yet

This commit is contained in:
Henry
2015-12-02 19:10:10 -08:00
parent 8e3c5db3bf
commit cee0ecf0ef
2 changed files with 63 additions and 40 deletions

View File

@@ -71,7 +71,7 @@ define(
*/
CopyService.prototype.perform = function (domainObject, parent) {
var $q = this.$q,
copyTask = new CopyTask(domainObject, parent, this.persistenceService, this.$q, this.now);
copyTask = new CopyTask(domainObject, parent, this.persistenceService, this.policyService, this.$q, this.now);
if (this.validate(domainObject, parent)) {
return copyTask.perform();
} else {