[jira] [Updated] (GEODE-2298) Executing a Function via Swagger without parameters throws an exception

2017-02-08 Thread Hitesh Khamesra (JIRA)

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

Hitesh Khamesra updated GEODE-2298:
---
Fix Version/s: (was: 1.1.0)
   1.2.0

> Executing a Function via Swagger without parameters throws an exception
> ---
>
> Key: GEODE-2298
> URL: https://issues.apache.org/jira/browse/GEODE-2298
> Project: Geode
>  Issue Type: Bug
>  Components: management, rest (dev)
>Reporter: Kevin Duling
>Assignee: Kevin Duling
> Fix For: 1.2.0
>
>
> When executing a function with Swagger, if no arguments are specified, the 
> {{FunctionAccessController}} will throw an exception because it incorrectly 
> identifies the JSON of {{"{}"}} to be arguments.  When the JSON deserializer 
> tries to work with it, an NPE is thrown because it's not a key:value pair.
> The solution is to change the test to treat {{"{}"}} as "no arguments".



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


[jira] [Updated] (GEODE-2298) Executing a Function via Swagger without parameters throws an exception

2017-01-20 Thread Kevin Duling (JIRA)

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

Kevin Duling updated GEODE-2298:

Description: 
When executing a function with Swagger, if no arguments are specified, the 
{{FunctionAccessController}} will throw an exception because it incorrectly 
identifies the JSON of {{"{}"}} to be arguments.  When the JSON deserializer 
tries to work with it, an NPE is thrown because it's not a key:value pair.

The solution is to change the test to treat {{"{}"}} as "no arguments".


  was:
When executing a function with Swagger, if no arguments are specified, the 
{{FunctionAccessController}} will throw an exception because it incorrectly 
identifies the JSON of {{"{}"}} to be arguments.

The solution is to change the test to treat {{"{}"}} as "no arguments".



> Executing a Function via Swagger without parameters throws an exception
> ---
>
> Key: GEODE-2298
> URL: https://issues.apache.org/jira/browse/GEODE-2298
> Project: Geode
>  Issue Type: Bug
>  Components: management, rest (dev)
>Reporter: Kevin Duling
>Assignee: Kevin Duling
>
> When executing a function with Swagger, if no arguments are specified, the 
> {{FunctionAccessController}} will throw an exception because it incorrectly 
> identifies the JSON of {{"{}"}} to be arguments.  When the JSON deserializer 
> tries to work with it, an NPE is thrown because it's not a key:value pair.
> The solution is to change the test to treat {{"{}"}} as "no arguments".



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