summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/domain/applicationdomaintype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h
index f2216da..986dd6d 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -247,6 +247,8 @@ public:
247 { 247 {
248 DomainType object(original); 248 DomainType object(original);
249 object.mIdentifier = identifier; 249 object.mIdentifier = identifier;
250 //This shouldn't be necessary but is to avoid corrupt id's from Store::modify calls.
251 object.mIdentifier.detach();
250 return object; 252 return object;
251 } 253 }
252 254