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); }