chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (CMIS-987) Alfresco and PortCMIS: Error when loading folders
Date Mon, 04 Jul 2016 13:43:11 GMT

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

Florian Müller resolved CMIS-987.
---------------------------------
       Resolution: Fixed
         Assignee: Florian Müller
    Fix Version/s: PortCMIS 0.2.0

> Alfresco and PortCMIS: Error when loading folders
> -------------------------------------------------
>
>                 Key: CMIS-987
>                 URL: https://issues.apache.org/jira/browse/CMIS-987
>             Project: Chemistry
>          Issue Type: Bug
>            Reporter: Johannes
>            Assignee: Florian Müller
>             Fix For: PortCMIS 0.2.0
>
>
> The below script fails on the Alfresco test server and yields an exception with the current
PortCMIS version.
> {quote}
> Dictionary<string, string> parameters = new Dictionary<string, string>();
>             parameters[SessionParameter.BindingType] = PortCMIS.BindingType.AtomPub;
>             parameters[SessionParameter.AtomPubUrl] = "https://cmis.alfresco.com/alfresco/api/-default-/public/cmis/versions/1.1/atom";
>             parameters[SessionParameter.User] = "admin";
>             parameters[SessionParameter.Password] = "admin";
>             SessionFactory factory = SessionFactory.NewInstance();
>             ISession session = factory.GetRepositories(parameters)[0].CreateSession();
>             IFolder root = session.GetRootFolder();
>             var x = root.GetChildren().ToList();
> {quote}



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

Mime
View raw message