You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2014/07/04 11:25:34 UTC

[jira] [Resolved] (OLINGO-340) UnderlyingType in EnumType is not evaluated correctly

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

Francesco Chicchiriccò resolved OLINGO-340.
-------------------------------------------

    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=15f7de8f6c75f3dd179a9e68037983fa2fa57b84

> UnderlyingType in EnumType is not evaluated correctly
> -----------------------------------------------------
>
>                 Key: OLINGO-340
>                 URL: https://issues.apache.org/jira/browse/OLINGO-340
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-client
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>             Fix For: V4 0.1.0
>
>
> An {{EnumType}} declared as follows
> {code}
> <EnumType Name="ENString" IsFlags="true" UnderlyingType="Edm.Int16">
>   <Member Name="String1" Value="1"/>
>   <Member Name="String2" Value="2"/>
>   <Member Name="String3" Value="3"/>
> </EnumType>
> {code}
> will throw an exception like as {{Not allowed as underlying type: Edm.Int16}}



--
This message was sent by Atlassian JIRA
(v6.2#6252)