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

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

Sachin C created OLINGO-724:
-------------------------------

             Summary: 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.4, V2 2.0.3, V2 2.0.2, V2 2.0.5
            Reporter: Sachin C
             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)