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

AtomPub applyAcl expects Atom entry response

    XMLWordPrintableJSON

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

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

            Dates

              Created:
              Updated:
              Resolved: