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

Mike H updated OLINGO-1334:
---------------------------
    Description: 
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? 

 

  was:
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(b:b/NEXT_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? 

 


> 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: Minor
>
> 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)

Reply via email to