mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Clears up problems submitting deleted files via workflow. Still need to systematically
go through DeletedNode implementation to make sure it's fully first class. Adding some debugging code that throws exceptions if it detects certain kinds of races. It can be turned off but I want to leave it on until GA. And, you'll need to start from a clean database as the AVM schema have changed. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -382,7 +382,7 @@ public class AVMSyncServiceImpl implements AVMSyncService
|
||||
case AVMDifference.NEWER :
|
||||
{
|
||||
// You can't delete what isn't there.
|
||||
linkIn(dstParts[0], dstParts[1], srcDesc, excluder, dstDesc != null);
|
||||
linkIn(dstParts[0], dstParts[1], srcDesc, excluder, dstDesc != null && !dstDesc.isDeleted());
|
||||
continue;
|
||||
}
|
||||
case AVMDifference.OLDER :
|
||||
|
Reference in New Issue
Block a user