You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2016/08/29 05:51:20 UTC
[jira] [Closed] (OLINGO-1013) V4: can´t build context url while the key predicate is an alias
[ https://issues.apache.org/jira/browse/OLINGO-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Bolz closed OLINGO-1013.
--------------------------------
> V4: can´t build context url while 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
> Assignee: Michael Bolz
> Attachments: 0001-added-support-for-aliase-in-core-and-tec.patch
>
>
> The core can´t build the context url while the key predicates are 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 if the key is an alias.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)