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

setContent not supported for AtomPub binding

    XMLWordPrintableJSON

Details

    Description

      Hi,

      I found issues with setContent() and prepared some JUnit tests tagged by @Ignore annotation because they currently fail.

      AbstractWriteObjectIT
      WriteObjectAtomPubIT
      WriteObjectWebServicesIT

      Issue 1)
      Document.setContent() Method is not supported for AtomPub Binding (CmisNotSupportedException). I would like to use this to update existing content. For WebService binding it is working.

      Issue 2)
      Document.setConente() + overwrite flag false throws CmisConstraintException but should throw a CmisConentAlreadyExistException (see spec 2.2.4.16.3).

      For verification just remove the @ignore annotations at AbstractWriteObjectIT class and run derived binding related tests.

      Regards,
      Stephan

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: