Chemistry
  1. Chemistry
  2. CMIS-381

createDocument should not mandate a non-null folderId. It should be an optional parameter. (#ibm)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: OpenCMIS 0.3.0
    • Fix Version/s: OpenCMIS 0.4.0
    • Component/s: opencmis-client
    • Labels:
      None
    • Environment:

      Windows platform

      Description

      #ibm

      The CMIS spec allows us to create an unfiled document. I do not see the same support in the OpenCMIS APIs - specifically the Session.createDocument API. It always mandates a non-null folder id to be specified. For my current project I need to create a document in a particular document class without requiring it to be in a sub-folder.

      ObjectId createDocument(Map<String,?> properties,
      ObjectId folderId,
      ContentStream contentStream,
      VersioningState versioningState)

      This is a major issue for us as we are in a time crunch. Hence marking the issue as major.

      Thanks!
      Anu Shenoy

        Activity

        Anu Shenoy created issue -
        Florian Müller made changes -
        Field Original Value New Value
        Assignee Florian Müller [ fmui ]
        Affects Version/s OpenCMIS 0.3.0 [ 12316084 ]
        Affects Version/s OpenCMIS 0.4.0 [ 12316316 ]
        Component/s opencmis-client [ 12313420 ]
        Component/s opencmis-workbench [ 12313862 ]
        Florian Müller made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Florian Müller made changes -
        Fix Version/s OpenCMIS 0.4.0 [ 12316316 ]

          People

          • Assignee:
            Florian Müller
            Reporter:
            Anu Shenoy
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development