Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2E82102E9 for ; Mon, 16 Feb 2015 08:17:14 +0000 (UTC) Received: (qmail 63798 invoked by uid 500); 16 Feb 2015 08:17:11 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 63750 invoked by uid 500); 16 Feb 2015 08:17:11 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 63739 invoked by uid 99); 16 Feb 2015 08:17:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2015 08:17:11 +0000 Date: Mon, 16 Feb 2015 08:17:11 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1157) FileNet connector: URI is not correct MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14322505#comment-14322505 ] Karl Wright commented on CONNECTORS-1157: ----------------------------------------- r1660045 (release-2.0-branch) > 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 1.8.1, ManifoldCF 2.0.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)