mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
Checkpoint of AVMSyncService support changes. Fix of AVMNodeConverter not liking
trailing '/'s. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -44,6 +44,10 @@ public class AVMNodeConverter
|
||||
{
|
||||
throw new AVMException("Malformed AVM Path.");
|
||||
}
|
||||
while (pathParts[1].endsWith("/") && pathParts[1].length() > 1)
|
||||
{
|
||||
pathParts[1] = pathParts[1].substring(0, pathParts[1].length() - 1);
|
||||
}
|
||||
StoreRef storeRef = ToStoreRef(pathParts[0]);
|
||||
String translated = version + pathParts[1];
|
||||
translated = translated.replaceAll("/+", ";");
|
||||
|
Reference in New Issue
Block a user