Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.3.0, OpenCMIS 0.4.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.