manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1764020 - in /manifoldcf/trunk: CHANGES.txt connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java
Date Mon, 10 Oct 2016 06:01:02 GMT
Author: kwright
Date: Mon Oct 10 06:01:01 2016
New Revision: 1764020

URL: http://svn.apache.org/viewvc?rev=1764020&view=rev
Log:
Fix for CONNECTORS-1341.  Committed on behalf of Chalitha Perera.

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

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1764020&r1=1764019&r2=1764020&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Mon Oct 10 06:01:01 2016
@@ -3,6 +3,10 @@ $Id$
 
 ======================= 2.6-dev =====================
 
+CONNECTORS-1341: Bad logic in jira connector disables document
+indexing.
+(Chalitha Perera)
+
 CONNECTORS-1325: Another example of bad XML from Microsoft has
 been found and worked around.
 (Konstantin Avdeev, Karl Wright)

Modified: manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java?rev=1764020&r1=1764019&r2=1764020&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java
(original)
+++ manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java
Mon Oct 10 06:01:01 2016
@@ -978,7 +978,7 @@ public class JiraRepositoryConnector ext
         
         versionString = sb.toString();
 
-        if (activities.checkDocumentNeedsReindexing(documentIdentifier,versionString))
+        if (!activities.checkDocumentNeedsReindexing(documentIdentifier,versionString))
           continue;
 
         if (Logging.connectors.isDebugEnabled()) {
@@ -1040,6 +1040,7 @@ public class JiraRepositoryConnector ext
           if (modifiedDate != null)
             rd.setModifiedDate(modifiedDate);
             
+          rd.addField("webUrl", documentURI);
           rd.addField("key", jiraFile.getKey());
           rd.addField("self", jiraFile.getSelf());
           rd.addField("description", jiraFile.getDescription());



Mime
View raw message