manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1778938 - in /manifoldcf/trunk: CHANGES.txt connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java
Date Sun, 15 Jan 2017 19:02:28 GMT
Author: kwright
Date: Sun Jan 15 19:02:28 2017
New Revision: 1778938

URL: http://svn.apache.org/viewvc?rev=1778938&view=rev
Log:
Fix for CONNECTORS-1366.  Committed on behalf of Furkan KAMACI.

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

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1778938&r1=1778937&r2=1778938&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Sun Jan 15 19:02:28 2017
@@ -3,6 +3,10 @@ $Id$
 
 ======================= 2.7-dev =====================
 
+CONNECTORS-1366: Wrong report code in email connector when mime
+type is rejected.
+(Furkan KAMACI)
+
 CONNECTORS-1364: Add support in the JCIFS connector for allowing user-
 settable bin names.  This allows for better resource balancing since it
 is not possible to discover the correct resource balancing empirically.

Modified: manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java?rev=1778938&r1=1778937&r2=1778938&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java
(original)
+++ manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java
Sun Jan 15 19:02:28 2017
@@ -549,7 +549,7 @@ public class EmailConnector extends org.
             
             String mimeType = "text/plain";
             if (!activities.checkMimeTypeIndexable(mimeType)) {
-              errorCode = activities.EXCLUDED_DATE;
+              errorCode = activities.EXCLUDED_MIMETYPE;
               errorDesc = "Excluded because of mime type ('"+mimeType+"')";
               activities.noDocument(documentIdentifier, version);
               continue;



Mime
View raw message