[
https://issues.apache.org/jira/browse/OLINGO-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
kjirachristian updated OLINGO-1453:
-----------------------------------
Description:
It seems like the implementation of the method
UriParserImpl#handleSystemQueryOptionExpand has a flaw. At L#792 where the
property of type EdmTyped gets fetched, it looks like the attribute edmType of
property will always be null and therefore the check afterwards throws a
NullPointerExcpetion which is then handled by an OData Common Exception.
That has to be the reason why expand is not working.. despite decent looking
Navigation Properties.
was:
It seems like the implementation of the method
UriParserImpl#handleSystemQueryOptionSelect has a flaw. At L#792 where the
property of type EdmTyped gets fetched, it looks like the attribute edmType of
property will always be null and therefore the check afterwards throws a
NullPointerExcpetion which is then handled by an OData Common Exception.
That has to be the reason why expand is not working.. despite decent looking
Navigation Properties.
> JPA System query option expand error
> ------------------------------------
>
> Key: OLINGO-1453
> URL: https://issues.apache.org/jira/browse/OLINGO-1453
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 2.0.11
> Reporter: kjirachristian
> Priority: Major
>
> It seems like the implementation of the method
> UriParserImpl#handleSystemQueryOptionExpand has a flaw. At L#792 where the
> property of type EdmTyped gets fetched, it looks like the attribute edmType
> of property will always be null and therefore the check afterwards throws a
> NullPointerExcpetion which is then handled by an OData Common Exception.
> That has to be the reason why expand is not working.. despite decent looking
> Navigation Properties.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)