mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added two new fields to VersionRoot (the version record), a short description,
and a long description. Adjusted signature of createSnapshot(), and update() to match, and thus actions and tests that needed to be fixed. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -79,8 +79,9 @@ public class AVMSubmitHandler extends JBPMSpringActionHandler
|
||||
String avmDest = webSiteName + "-staging:" + storePath[1];
|
||||
List<AVMDifference> diffs =
|
||||
fAVMSyncService.compare(-1, avmSource, -1, avmDest);
|
||||
// TODO fix update comments if needed.
|
||||
// Ignore conflicts and older nodes for now.
|
||||
fAVMSyncService.update(diffs, true, true, false, false);
|
||||
fAVMSyncService.update(diffs, true, true, false, false, null, null);
|
||||
// Now flatten out the source.
|
||||
fAVMSyncService.flatten(avmSource, avmDest);
|
||||
}
|
||||
|
@@ -86,7 +86,8 @@ public class AVMSubmitPackageHandler extends JBPMSpringActionHandler implements
|
||||
diffs.add(diff);
|
||||
storesHit.put(storePath[0], stagingName);
|
||||
}
|
||||
fAVMSyncService.update(diffs, true, true, false, false);
|
||||
// TODO fix update comments if needed.
|
||||
fAVMSyncService.update(diffs, true, true, false, false, null, null);
|
||||
for (Map.Entry<String, String> entry : storesHit.entrySet())
|
||||
{
|
||||
fAVMSyncService.flatten(entry.getKey() + ":/appBase",
|
||||
|
Reference in New Issue
Block a user