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:09:34 UTC

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

Francesco Chicchiriccò created OLINGO-340:
---------------------------------------------

             Summary: 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)