Jochen Kraushaar created CMIS-916: ------------------------------------- Summary: 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.13.0, OpenCMIS 0.12.0 Reporter: Jochen Kraushaar
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 with policyId in the AtomEntryWriter constructor call at org.apache.chemistry.opencmis.client.bindings.spi.atompub.PolicyServiceImpl in method applyPolicy(String, String, String, ExtensionData). -- This message was sent by Atlassian JIRA (v6.3.4#6332)