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
This commit is contained in:
Britt Park
2007-01-12 23:27:05 +00:00
parent 3563fa617a
commit 6d2dbe50e2

View File

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