From 6d2dbe50e2af9279a949ba252a0f0b94c511e9e8 Mon Sep 17 00:00:00 2001 From: Britt Park Date: Fri, 12 Jan 2007 23:27:05 +0000 Subject: [PATCH] Changed flags to update to fix problem where workflow submits of a subset of the changed set of assets ended up wiping out unsubmitted changes in that sandbox. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4817 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../java/org/alfresco/repo/avm/wf/AVMSubmitPackageHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/repo/avm/wf/AVMSubmitPackageHandler.java b/source/java/org/alfresco/repo/avm/wf/AVMSubmitPackageHandler.java index e71fad75f6..1d6fef4786 100644 --- a/source/java/org/alfresco/repo/avm/wf/AVMSubmitPackageHandler.java +++ b/source/java/org/alfresco/repo/avm/wf/AVMSubmitPackageHandler.java @@ -98,7 +98,7 @@ public class AVMSubmitPackageHandler extends JBPMSpringActionHandler implements // TODO: Without locking on the sandbox, it's possible that a change to a "submitted" item // may get lost when the item is finally approved List sandboxDiffs = fAVMSyncService.compare(pkgPath.getFirst(), pkgPath.getSecond(), -1, from, null); - fAVMSyncService.update(sandboxDiffs, null, false, false, true, true, tag, description); + fAVMSyncService.update(sandboxDiffs, null, true, true, false, false, tag, description); AVMDAOs.Instance().fAVMNodeDAO.flush(); fAVMSyncService.flatten(from, targetPath); }