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 8B0AE17302 for ; Wed, 4 Feb 2015 23:49:34 +0000 (UTC) Received: (qmail 40835 invoked by uid 500); 4 Feb 2015 23:49:35 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 40792 invoked by uid 500); 4 Feb 2015 23:49:35 -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 40752 invoked by uid 99); 4 Feb 2015 23:49:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 23:49:35 +0000 Date: Wed, 4 Feb 2015 23:49:35 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 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)