You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Mike H (JIRA)" <ji...@apache.org> on 2019/02/06 22:16:00 UTC

[jira] [Updated] (OLINGO-1334) Lambda bound variable function parameters not being parsed by ParserHelper

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

Mike H updated OLINGO-1334:
---------------------------
    Priority: Major  (was: Minor)

> Lambda bound variable function parameters not being parsed by ParserHelper
> --------------------------------------------------------------------------
>
>                 Key: OLINGO-1334
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1334
>             Project: Olingo
>          Issue Type: Question
>    Affects Versions: (Java) V4 4.5.0
>            Reporter: Mike H
>            Priority: Major
>
> When using a lambda bound variable inside a function parameter, ParserHelper fails to include the lambda context within the ExpressionParser.  This results in a failed parsing of the URL.  
> Line 197: [https://github.com/apache/olingo-odata4/blob/4.5.0/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/ParserHelper.java#L197]
> For example:
> /odata/ENTITY_SET?$filter=NAV_PROP/any(bf:namespace.CustomFunction(property=bf/PropertyName) ne 2)
> We are unable to use the lambda property PropertyName from the lambda bound context variable 'bf'
> Could we get some guidance on if we are approaching this incorrectly? Or if there is an issue with the olingo parsing? 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)