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

Server-Binding - Children.DeleteTree does not work with Rest-Atom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • OpenCMIS 0.4.0, OpenCMIS 0.5.0
    • None
    • opencmis-server
    • Windows XP, JDK 1.6, Tomcat 6

    Description

      We have developed a CMIS server using OpenCMIS-Server (Maven overlay).

      When testing the service using CMIS workbench 0.4.0 while connected with AtomPub, The operation DeleteTree on a folder returns 405-Method not allowed.
      Workbench issue a http request like this DELETE /cmissvr/atom/racineMcccf/children?id=xxx

      Execution of the TCK results in the same error.
      There is no error while connected with WebService's bindings

      Adding this line in CmisAtomPubServlet.init resolve the issue:
      dispatcher.addResource(AtomPubUtils.RESOURCE_CHILDREN, Dispatcher.METHOD_DELETE, ObjectService.class, "deleteTree");

      Note: We have not implemented the "Descendants" capabilities, maybe this is the reason that Descendants/DELETE (ObjectService.deleteTree) is not invoked

      Attachments

        1. CmisAtomPubServlet.java
          13 kB
          Jonathan Lapointe

        Activity

          People

            fmui Florian Müller
            lapojon Jonathan Lapointe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified