You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Morten Riedel (JIRA)" <ji...@apache.org> on 2016/08/26 12:51:20 UTC

[jira] [Updated] (OLINGO-1013) V4: can´t build context url while the predicate is an alias

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

Morten Riedel updated OLINGO-1013:
----------------------------------
    Summary: V4: can´t build context url while the predicate is an alias  (was: V4: can´t resolve property values if the key predicate is an alias)

> V4: can´t build context url while the 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)