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


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.

Reply via email to