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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development