[ 
https://issues.apache.org/jira/browse/OLINGO-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011738#comment-16011738
 ] 

Ramya commented on OLINGO-873:
------------------------------

Hi Frederik Zimmer,
I am unable to reproduce this issue. Can you please check this.

Regards,
Ramya

> Invalid representation of function parameters in URL
> ----------------------------------------------------
>
>                 Key: OLINGO-873
>                 URL: https://issues.apache.org/jira/browse/OLINGO-873
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-client
>    Affects Versions: (Java) V4 4.1.0
>            Reporter: Frederik Zimmer
>
> Calling a function with a string parameter will lead to 
> functionName(paramName=stringValue)
> The correct version would be
> functionName(paramName='stringValue')
> Complex and collection parameters can only be expressed with a parameter 
> alias. ABNF:
> functionParameter  = parameterName EQ ( parameterAlias / primitiveLiteral ).
> This is not done, so passing complex or collection parameters to a function 
> call will lead to invalid urls. Example:
> Calling a function with a string collection param with one value will lead to 
> functionName(paramName=[stringValue])
> The correct version would be:
> functionName(paramName=@p)?@p=["stringValue"]
> The bug is in org.apache.olingo.client.core.uri.URIUtils method 
> buildFunctionInvokeURI.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to