Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-987

Alfresco and PortCMIS: Error when loading folders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • PortCMIS 0.2.0
    • None
    • None

    Description

      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] = "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();

      Attachments

        Issue Links

          Activity

            People

              fmui Florian Müller
              Johannes Schacht Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: