[
https://issues.apache.org/jira/browse/CMIS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840065#action_12840065
]
David Caruana commented on CMIS-143:
------------------------------------
I can confirm SimpleReadWriteTests now pass with this fix. Thanks.
> AtomPub applyAcl expects Atom entry response
> --------------------------------------------
>
> Key: CMIS-143
> URL: https://issues.apache.org/jira/browse/CMIS-143
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-provider
> Reporter: David Caruana
> Assignee: Florian Müller
>
> AbstractAtomPubService.java (line 743):
> HttpUtils.Response resp = put(aclUrl, Constants.MEDIATYPE_ACL, new
> HttpUtils.Output() {
> public void write(OutputStream out) throws Exception {
> JaxBHelper.marshal(JaxBHelper.CMIS_OBJECT_FACTORY.createAcl(aclJaxb),
> out, false);
> }
> });
> // parse new entry
> return parse(resp.getStream(), AtomEntry.class);
> The spec is not clear, but I would expect the PUT response to return a media
> type of application/cmisacl+xml.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.