manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1626973 - in /manifoldcf/trunk: CHANGES.txt connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Date Tue, 23 Sep 2014 10:21:47 GMT
Author: kwright
Date: Tue Sep 23 10:21:47 2014
New Revision: 1626973

URL: http://svn.apache.org/r1626973
Log:
Fix for CONNECTORS-1043.

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

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1626973&r1=1626972&r2=1626973&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Tue Sep 23 10:21:47 2014
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.0-dev =====================
 
+CONNECTORS-1043: Wrong url generated for SharePoint list items.
+(Lalit Jangra, Karl Wright)
+
 CONNECTORS-418: Finish implementation of preferred way to get content
 URL for CMIS.
 (Karl Wright)

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=1626973&r1=1626972&r2=1626973&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
Tue Sep 23 10:21:47 2014
@@ -1012,7 +1012,7 @@ public class SharePointRepository extend
               String encodedItemPath = encodePath(decodedListPath.substring(0,cutoff) + "/Lists/"
+ decodedItemPath.substring(cutoff+1));
                 
               // Generate the URL we are going to use
-              String itemUrl = fileBaseUrl + displayURL;  //fileBaseUrl + encodedItemPath;
+              String itemUrl = serverUrl + displayURL;  //fileBaseUrl + encodedItemPath;
                 
               if (Logging.connectors.isDebugEnabled())
                 Logging.connectors.debug( "SharePoint: Processing list item '"+documentIdentifier+"';
url: '" + itemUrl + "'" );



Mime
View raw message