wentao created CMIS-850:
---------------------------

             Summary: createdocument with checkedout parameter does not work 
with webservice binding
                 Key: CMIS-850
                 URL: https://issues.apache.org/jira/browse/CMIS-850
             Project: Chemistry
          Issue Type: Bug
          Components: dotcmis
    Affects Versions: DotCMIS 0.6
            Reporter: wentao
            Priority: Minor


I am testing DotCMIS 0.6, when call IDocument myDoc1 = 
myFolder.CreateDocument(properties, 
null,DotCMIS.Enums.VersioningState.CheckedOut) function, it works only on 
atompub binding, if using webservice binding, the document is created with 
major version, not a "checkedout" version.

here is the http trace

<createDocument 
xmlns="http://docs.oasis-open.org/ns/cmis/messaging/200908/";><repositoryId>DevOS1</repositoryId><properties><propertyString
 propertyDefinitionId="cmis:name" 
xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/";><value>Hello World 
Document newp8id</value></propertyString><propertyId 
propertyDefinitionId="cmis:objectTypeId" 
xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/";><value>Document</value></propertyId></properties><folderId>idf_BD28F6BB-DA23-44BE-AFAB-4731AF178DF4</folderId><contentStream
 xsi:nil="true"/><versioningState xsi:nil="true"/><addACEs 
xsi:nil="true"/><removeACEs xsi:nil="true"/><extension 
xsi:nil="true"/></createDocument>

The "versioningState" value is empty. when using atompub binding, the value is 
<versioningState>checkedout</versioningState>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to