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

Morten Riedel updated OLINGO-1013:
----------------------------------
    Description: the core can´t handle entity sets with key aliases. The bug is 
located in Class UriHelperImpl 
(https://github.com/apache/olingo-odata4/blob/master/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriHelperImpl.java#L70).
 The iteration goes through the plain key predicates as a string and is trying 
to get the property by this string. This results in a null pointer exception 
when the key is an alias.  (was: the core can´t handle entity sets with key 
aliases. The bug is located in Class UriHelperImpl 
(https://github.com/apache/olingo-odata4/blob/master/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriHelperImpl.java#L70).
 The iteration goes through the plain key predicates as a string and is trying 
to get the property by this string. This will result in a null pointer when the 
key is an alias.)

> V4: Core can´t resolve property values if the key predicate is an alias
> -----------------------------------------------------------------------
>
>                 Key: OLINGO-1013
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1013
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.2.0
>            Reporter: Morten Riedel
>
> the core can´t handle entity sets with key aliases. The bug is located in 
> Class UriHelperImpl 
> (https://github.com/apache/olingo-odata4/blob/master/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriHelperImpl.java#L70).
>  The iteration goes through the plain key predicates as a string and is 
> trying to get the property by this string. This results in a null pointer 
> exception when the key is an alias.



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

Reply via email to