manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1660045 - in /manifoldcf/branches/release-2.0-branch: ./ CHANGES.txt connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
Date Mon, 16 Feb 2015 08:16:21 GMT
Author: kwright
Date: Mon Feb 16 08:16:21 2015
New Revision: 1660045

URL: http://svn.apache.org/r1660045
Log:
Pull up fix for CONNECTORS-1157 from trunk.

Modified:
    manifoldcf/branches/release-2.0-branch/   (props changed)
    manifoldcf/branches/release-2.0-branch/CHANGES.txt
    manifoldcf/branches/release-2.0-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java

Propchange: manifoldcf/branches/release-2.0-branch/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Feb 16 08:16:21 2015
@@ -119,4 +119,4 @@
 /manifoldcf/branches/CONNECTORS-981:1605049-1605773
 /manifoldcf/branches/CONNECTORS-989:1611600-1612101
 /manifoldcf/branches/CONNECTORS-990:1610284-1610707
-/manifoldcf/trunk:1644252,1644399,1644538,1644920,1644931,1646317,1646397,1646403,1646640,1646947,1647574,1647577,1647608,1650351,1651921,1654651-1654652,1655205,1655377-1655378,1655411,1657346,1658004,1658036,1658188
+/manifoldcf/trunk:1644252,1644399,1644538,1644920,1644931,1646317,1646397,1646403,1646640,1646947,1647574,1647577,1647608,1650351,1651921,1654651-1654652,1655205,1655377-1655378,1655411,1657346,1657443,1658004,1658036,1658188

Modified: manifoldcf/branches/release-2.0-branch/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/branches/release-2.0-branch/CHANGES.txt?rev=1660045&r1=1660044&r2=1660045&view=diff
==============================================================================
--- manifoldcf/branches/release-2.0-branch/CHANGES.txt (original)
+++ manifoldcf/branches/release-2.0-branch/CHANGES.txt Mon Feb 16 08:16:21 2015
@@ -4,6 +4,10 @@ $Id$
 
 ======================= Release 2.0.2 =====================
 
+CONNECTORS-1157: FileNet connector URI is incorrect for document
+subtypes.
+(Guy Sperry)
+
 CONNECTORS-1156: Difficulty shutting down agents process after
 a while executing.
 (Adrian Conlon, Karl Wright)

Modified: manifoldcf/branches/release-2.0-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/release-2.0-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java?rev=1660045&r1=1660044&r2=1660045&view=diff
==============================================================================
--- manifoldcf/branches/release-2.0-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
(original)
+++ manifoldcf/branches/release-2.0-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
Mon Feb 16 08:16:21 2015
@@ -3181,8 +3181,8 @@ public class FilenetConnector extends or
   */
   protected static String convertToURI(String urlBase, String documentIdentifier, int elementNumber,
String documentClass)
   {
-    // Will this work for sub-types of documents too?  ask - MHL
-    return  urlBase  +  "&id=" + documentIdentifier + "&element="+Integer.toString(elementNumber)+"&objectType="+documentClass;
+    // objectType is the parent object type, which is why Document is correct
+    return  urlBase  +  "&id=" + documentIdentifier + "&element="+Integer.toString(elementNumber)+"&objectType=Document";
   }
 
   protected class CheckConnectionThread extends Thread



Mime
View raw message