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

Client API AtomPub binding: if deleteTree() fails it throws an exception but should return the ids of the objects that could not be deleted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.3.0, OpenCMIS 0.4.0
    • OpenCMIS 0.5.0
    • None

    Description

      In order to align the behavior of the two CMIS bindings, the AtomPub deleteTree() operation should return the ids of the objects that could not be deleted when the HTTP status code 500 is returned by the server.
      The CMIS specification recommends retrieving the remaining children with GET with infinite depth (section 3.9.3.2). Since getDescendants() is not supported is not supported by all repositories, getChildren() should be sufficient for OpenCMIS to retrieve ids. The application can still call getDescendants() if it is supported and required.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: