Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-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 268DF18C16 for ; Tue, 26 May 2015 14:34:27 +0000 (UTC) Received: (qmail 3762 invoked by uid 500); 26 May 2015 14:34:17 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 3706 invoked by uid 500); 26 May 2015 14:34:17 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 3694 invoked by uid 99); 26 May 2015 14:34:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 14:34:17 +0000 Date: Tue, 26 May 2015 14:34:17 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CMIS-916) AtomPub applyPolicy method does not send policyId to server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-916?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller resolved CMIS-916. --------------------------------- Resolution: Fixed Fix Version/s: OpenCMIS 1.0.0 > AtomPub applyPolicy method does not send policyId to server > ----------------------------------------------------------- > > Key: CMIS-916 > URL: https://issues.apache.org/jira/browse/CMIS-916 > Project: Chemistry > Issue Type: Bug > Components: opencmis-client-bindings > Affects Versions: OpenCMIS 0.12.0, OpenCMIS 0.13.0 > Reporter: Jochen Kraushaar > Assignee: Florian M=C3=BCller > Labels: atompub, policy > Fix For: OpenCMIS 1.0.0 > > > When calling applyPolicy using the AtomPub binding, the policy ID is not = send to the server. Instead OpenCMIS sends the target object ID. > As a workaround I fixed the bug for my purposes by replacing objectId wit= h policyId in the AtomEntryWriter constructor call at org.apache.chemistry.= opencmis.client.bindings.spi.atompub.PolicyServiceImpl in method applyPolic= y(String, String, String, ExtensionData). -- This message was sent by Atlassian JIRA (v6.3.4#6332)