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 (Assigned JIRA)" <ji...@apache.org> on 2011/09/28 21:50:45 UTC

[jira] [Assigned] (CMIS-436) Can not CreateDocument() without first issuing a GET (GetChildren())

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

Florian Müller reassigned CMIS-436:
-----------------------------------

    Assignee: Florian Müller
    
> Can not CreateDocument() without first issuing a GET (GetChildren())
> --------------------------------------------------------------------
>
>                 Key: CMIS-436
>                 URL: https://issues.apache.org/jira/browse/CMIS-436
>             Project: Chemistry
>          Issue Type: Bug
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.2
>         Environment: C# .NET 3.5, Alfresco Community 3.4.1, Console client running on Windows XP, created with Visual Studio 2008
>            Reporter: Tim Callanan
>            Assignee: Florian Müller
>              Labels: api-change
>             Fix For: DotCMIS 0.3
>
>
> Using DotCMIS/Community Share Version :Community - v3.4.0 (d 3370) I am able to get repository information (Name, ID, etc.) as well as list the contents of a particular folder without issue. I can also upload content via CreateDocument without issue only if it is called after I list the contents of a folder via folder.GetChildren().  
> I am unable to create a document using CreateDocument() without a call to folder.GetChildren() first (A GET request). 
> The exception being thrown is in atompub.cs line 448: throw ConvertStatusCode(resp.StatusCode, resp.Message, resp.ErrorContent, null); I am also receiving a 401 from Apache.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira