You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Anu Shenoy (JIRA)" <ji...@apache.org> on 2011/06/03 00:37:47 UTC

[jira] [Created] (CMIS-381) createDocument should not mandate a non-null folderId. It should be an optional parameter. (#ibm)

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

                 Key: CMIS-381
                 URL: https://issues.apache.org/jira/browse/CMIS-381
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-workbench
    Affects Versions: OpenCMIS 0.4.0
         Environment: Windows platform
            Reporter: Anu Shenoy


#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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CMIS-381) createDocument should not mandate a non-null folderId. It should be an optional parameter. (#ibm)

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller updated CMIS-381:
--------------------------------

          Component/s:     (was: opencmis-workbench)
                       opencmis-client
    Affects Version/s:     (was: OpenCMIS 0.4.0)
                       OpenCMIS 0.3.0
             Assignee: Florian Müller

> createDocument should not mandate a non-null folderId. It should be an optional parameter. (#ibm)
> -------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-381
>                 URL: https://issues.apache.org/jira/browse/CMIS-381
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.3.0
>         Environment: Windows platform
>            Reporter: Anu Shenoy
>            Assignee: Florian Müller
>
> #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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CMIS-381) createDocument should not mandate a non-null folderId. It should be an optional parameter. (#ibm)

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller updated CMIS-381:
--------------------------------

    Fix Version/s: OpenCMIS 0.4.0

> createDocument should not mandate a non-null folderId. It should be an optional parameter. (#ibm)
> -------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-381
>                 URL: https://issues.apache.org/jira/browse/CMIS-381
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.3.0
>         Environment: Windows platform
>            Reporter: Anu Shenoy
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.4.0
>
>
> #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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CMIS-381) createDocument should not mandate a non-null folderId. It should be an optional parameter. (#ibm)

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Resolution: Fixed

Please note that the AtomPub binding cannot create unfiled documents. That's a spec issue, not an OpenCMIS issue.

> createDocument should not mandate a non-null folderId. It should be an optional parameter. (#ibm)
> -------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-381
>                 URL: https://issues.apache.org/jira/browse/CMIS-381
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.3.0
>         Environment: Windows platform
>            Reporter: Anu Shenoy
>            Assignee: Florian Müller
>
> #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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira