You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2015/07/06 10:36:04 UTC

[jira] [Resolved] (OLINGO-724) Function Import return type is not parsed properly by Olingo

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

Christian Amend resolved OLINGO-724.
------------------------------------
    Resolution: Fixed
      Assignee: Christian Amend

Already fixed with the linked issue.

> Function Import return type is not parsed properly by Olingo
> ------------------------------------------------------------
>
>                 Key: OLINGO-724
>                 URL: https://issues.apache.org/jira/browse/OLINGO-724
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.2, V2 2.0.3, V2 2.0.4, V2 2.0.5
>            Reporter: Sachin C
>            Assignee: Christian Amend
>             Fix For: V2 2.0.5
>
>
> Hi,
> Olingo when parsing the metadata from its XmlMetadataConsumer class, it checks if the ReturnType of function Import has "collection" defined in it. If it has , it initializes the multiplicity as "MANY". But in the else case, the multiplicity is not initialized at all, making it null. In places where the multiplicity is checked, especially in switch case statements, this causes exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)