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

DotCMIS drops choices returned from server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • DotCMIS 0.2
    • DotCMIS 0.3
    • dotcmis
    • None

    Description

      1. Connect using AtomPub binding
      2. Get an ISessionfrom an IRepository
      3. Use Binding from session: private ICmisBinding Binding { get

      { return _session.Binding; }

      }
      4. Get ITypeDefinition typeDefinition from Binding.GetRepositoryService().GetTypeDefinition(repositoryId, typeId, null);
      5. Get IPropertyDefinition p ("SVCPStr_CVL") from the typeDefinition.PropertyDefinitions:
      public IPropertyDefinition GetPropertyDefinitionById(String id)
      {
      foreach (IPropertyDefinition p in propertyDefinitions)

      { if (p.Id.Equals(id)) return p; }

      return null;
      }
      6. At this point I go into debug mode and look at the IPropertyDefinition p and see that Choices == null.

      See attachment for sample response.xml

      Attachments

        1. response.xml
          61 kB
          Nicolas Lee

        Activity

          People

            fmui Florian Müller
            nlee1@us.ibm.com Nicolas Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: