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 2019/04/04 11:58:00 UTC

[jira] [Commented] (CMIS-1073) GetRepository call fails when there is a duplicate permission mapping for the same key

    [ https://issues.apache.org/jira/browse/CMIS-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809771#comment-16809771 ] 

Florian Müller commented on CMIS-1073:
--------------------------------------

This is rather a bug in DotCMIS than in PortCMIS. A repository must not provide the same key multiple times and a client should reject this.

> GetRepository call fails when there is a duplicate permission mapping for the same key
> --------------------------------------------------------------------------------------
>
>                 Key: CMIS-1073
>                 URL: https://issues.apache.org/jira/browse/CMIS-1073
>             Project: Chemistry
>          Issue Type: Bug
>          Components: portcmis
>    Affects Versions: PortCMIS 0.3.0
>         Environment: Windows 10
> Visual Studio 2015
> .Net Framework 4.5.1
>            Reporter: Selvaraj Murugan
>            Priority: Major
>
> When calling the GetRepositories method on the SessionFactory object, it throws "Parse Exception". After debugging the code in local, when there is a duplicate key for permission mapping, its not able to insert that into Dictionary collection. DotCMIS was handling this correctly (If the key already exists, just reset the value to recent one). 
> If i add the same logic in PortCMIS, it works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)