You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/02 14:10:20 UTC

[GitHub] eweiter opened a new issue #165: Possible bug around empty query_params when filter is present

eweiter opened a new issue #165: Possible bug around empty query_params when filter is present
URL: https://github.com/apache/incubator-openwhisk-package-cloudant/issues/165
 
 
   This issue has two parts:
   1) It was discovered that when trying to create a Cloudant Trigger if one specifies a "filter" but leaves the "query_params" blank the server will return an error complaining that the "query_params" are not valid JSON. 
   
   I believe this happened after the recent fix for validating the "query_params" to be correct JSON. 
   
   From glancing at the code it appears the fix would possibly be to add an extra condition to check for undefined query params and to allow them through when the filter is specified. 
   
   2) A user was reporting that when they would supply `{}` as their "query_param" (so that they could get past the Invalid JSON error) the filter will no longer fire on their Trigger. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services