Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-850

createdocument with checkedout parameter does not work with webservice binding

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: DotCMIS 0.6
    • Fix Version/s: DotCMIS 0.7
    • Component/s: dotcmis
    • Labels:
      None

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              fmui Florian Müller
              Reporter:
              luwt wentao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: