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:46:21 UTC

[jira] [Created] (OLINGO-1013) V4: Core can´t resolve property values if the key predicate is an alias

Morten Riedel created OLINGO-1013:
-------------------------------------

             Summary: 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 will result in a null pointer when the key is an alias.



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