manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1523640 - /manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Date Mon, 16 Sep 2013 13:19:59 GMT
Author: kwright
Date: Mon Sep 16 13:19:59 2013
New Revision: 1523640

URL: http://svn.apache.org/r1523640
Log:
Possible fix for CONNECTORS-776.  Assumes that it is the encodedServerLocation that is prepended
to the relPath; we still need confirmation.

Modified:
    manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java

Modified: manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1523640&r1=1523639&r2=1523640&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++ manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Mon Sep 16 13:19:59 2013
@@ -1405,7 +1405,7 @@ public class SharePointRepository extend
               Logging.connectors.debug( "SharePoint: Document identifier is a library: '"
+ siteLibPath + "'" );
 
             // Calculate the start of the path part that would contain the folders/file
-            int foldersFilePathIndex = site.length() + 1 + libName.length();
+            int foldersFilePathIndex = encodedServerLocation.length() + site.length() + 1
+ libName.length();
 
             String libID = proxy.getDocLibID( encodePath(site), site, libName, fullListPaths
);
             if (libID != null)



Mime
View raw message