mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
AVMSyncService checkpoint. Compare() substantially works but is only
lightly tested. This uncovered a bug in LayeredDirectoryNodeImpl of relatively ancient etiology. I thought I had a test that would have caught it. I was wrong. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -637,13 +637,15 @@ class LayeredDirectoryNodeImpl extends DirectoryNodeImpl implements LayeredDirec
|
||||
{
|
||||
BasicAttributes attrs = getBasicAttributes();
|
||||
String path = lPath.getRepresentedPath();
|
||||
if (path.endsWith("/"))
|
||||
path = AVMNodeConverter.ExtendAVMPath(path, name);
|
||||
String indirect = null;
|
||||
if (fPrimaryIndirection)
|
||||
{
|
||||
path = path + name;
|
||||
indirect = fIndirection;
|
||||
}
|
||||
else
|
||||
{
|
||||
path = path + "/" + name;
|
||||
indirect = AVMNodeConverter.ExtendAVMPath(lPath.getCurrentIndirection(), name);
|
||||
}
|
||||
return new AVMNodeDescriptor(path,
|
||||
name,
|
||||
@@ -656,7 +658,7 @@ class LayeredDirectoryNodeImpl extends DirectoryNodeImpl implements LayeredDirec
|
||||
attrs.getAccessDate(),
|
||||
getId(),
|
||||
getVersionID(),
|
||||
getUnderlying(lPath),
|
||||
indirect,
|
||||
fPrimaryIndirection,
|
||||
fLayerID,
|
||||
fOpacity,
|
||||
|
Reference in New Issue
Block a user