You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "David Caruana (JIRA)" <ji...@apache.org> on 2010/03/02 09:57:27 UTC
[jira] Commented: (CMIS-143) AtomPub applyAcl expects Atom entry
response
[ 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.