chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes (JIRA)" <>
Subject [jira] [Created] (CMIS-987) Alfresco and PortCMIS: Error when loading folders
Date Sat, 02 Jul 2016 14:02:10 GMT
Johannes created CMIS-987:

             Summary: Alfresco and PortCMIS: Error when loading folders
                 Key: CMIS-987
             Project: Chemistry
          Issue Type: Bug
            Reporter: Johannes

The below script fails on the Alfresco test server and yields an exception with the current
PortCMIS version.

Dictionary<string, string> parameters = new Dictionary<string, string>();

            parameters[SessionParameter.BindingType] = PortCMIS.BindingType.AtomPub;
            parameters[SessionParameter.AtomPubUrl] = "";
            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();

This message was sent by Atlassian JIRA

View raw message