manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1623599 - in /manifoldcf/trunk: CHANGES.txt connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Date Tue, 09 Sep 2014 00:28:27 GMT
Author: kwright
Date: Tue Sep  9 00:28:26 2014
New Revision: 1623599

URL: http://svn.apache.org/r1623599
Log:
Fix for CONNECTORS-1025.

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=1623599&r1=1623598&r2=1623599&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Tue Sep  9 00:28:26 2014
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.0-dev =====================
 
+CONNECTORS-1025: SharePoint connector should skip blocked files.
+(Radek Sklenicka, Karl Wright)
+
 CONNECTORS-1024: Non-null components always failed due to a
 null pointer exception.
 (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=1623599&r1=1623598&r2=1623599&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  9 00:28:26 2014
@@ -1901,7 +1901,7 @@ public class SharePointRepository extend
                 emt.start();
                 int returnCode = emt.finishUp();
                   
-                if (returnCode == 404 || returnCode == 401 || returnCode == 400)
+                if (returnCode == 404 || returnCode == 401 || returnCode == 400 || returnCode
== 415)
                 {
                   // Well, sharepoint thought the document was there, but it really isn't,
so delete it.
                   if (Logging.connectors.isDebugEnabled())



Mime
View raw message