You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2010/06/17 16:58:24 UTC

[jira] Resolved: (CMIS-219) setContent not supported for AtomPub binding

     [ https://issues.apache.org/jira/browse/CMIS-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-219.
---------------------------------

      Assignee: Florian Müller
    Resolution: Fixed

The server didn't provide an edit-media link if the document had no content. The client code was correct. Activated the FIT test.

> setContent not supported for AtomPub binding
> --------------------------------------------
>
>                 Key: CMIS-219
>                 URL: https://issues.apache.org/jira/browse/CMIS-219
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>            Reporter: Stephan Klevenz
>            Assignee: Florian Müller
>             Fix For: opencmis-0.1.0-incubating
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.