mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user