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 (JIRA)" <ji...@apache.org> on 2011/06/03 16:01:47 UTC

[jira] [Resolved] (CMIS-380) DotCMIS drops choices returned from server

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

Florian Müller resolved CMIS-380.
---------------------------------

    Resolution: Fixed

Please re-test.

> DotCMIS drops choices returned from server
> ------------------------------------------
>
>                 Key: CMIS-380
>                 URL: https://issues.apache.org/jira/browse/CMIS-380
>             Project: Chemistry
>          Issue Type: Bug
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.2
>            Reporter: Nicolas Lee
>            Assignee: Florian Müller
>             Fix For: DotCMIS 0.3
>
>         Attachments: response.xml
>
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira