You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2015/02/05 00:49:35 UTC

[jira] [Created] (CONNECTORS-1157) FileNet connector: URI is not correct

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)