Changes the behavior of submit to clobber when there are conflicts, so that

Preview I evaluators never get into a situation they can't get out of.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-10-09 19:53:57 +00:00
parent fb41867805
commit 446343b697

View File

@@ -116,7 +116,7 @@ public class SimpleAVMSubmitAction extends ActionExecuterAbstractBase
List<AVMDifference> diffs =
fAVMSyncService.compare(version, path, -1, avmDest);
// Do the update.
fAVMSyncService.update(diffs, true, true, false, false);
fAVMSyncService.update(diffs, false, false, true, true);
// Cleanup by flattening the source relative to the destination.
AVMDAOs.Instance().fAVMNodeDAO.flush();
fAVMSyncService.flatten(storePath[0] + ":/appBase", websiteName + "-staging:/appBase");