manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONNECTORS-1157) FileNet connector: URI is not correct
Date Wed, 04 Feb 2015 23:49:35 GMT
Karl Wright created CONNECTORS-1157:
---------------------------------------

             Summary: FileNet connector: URI is not correct
                 Key: CONNECTORS-1157
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1157
             Project: ManifoldCF
          Issue Type: Bug
    Affects Versions: ManifoldCF 2.0.1, ManifoldCF 1.8.1
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 1.9, ManifoldCF 2.1


The way we form FileNet URIs is incorrect.  The correct code:

{code}
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=Document";
}
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message