Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-143

AtomPub applyAcl expects Atom entry response

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              fmui Florian Müller
              Reporter:
              dcaruana David Caruana
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: