You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/08/28 21:57:43 UTC

[GitHub] mistercrunch opened a new pull request #5764: [bugfix] IS NOT NULL filter triggers KeyError: 'val'

mistercrunch opened a new pull request #5764: [bugfix] IS NOT NULL filter triggers KeyError: 'val'
URL: https://github.com/apache/incubator-superset/pull/5764
 
 
   ```
   Traceback (most recent call last):
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
       response = self.full_dispatch_request()
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
       raise value
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
       rv = self.dispatch_request()
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/superset/models/core.py", line 1018, in wrapper
       value = f(*args, **kwargs)
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 26, in wraps
       return f(self, *args, **kwargs)
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/superset/views/core.py", line 1264, in explore
       utils.convert_legacy_filters_into_adhoc(form_data)
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/superset/utils.py", line 962, in convert_legacy_filters_into_adhoc
       fd['adhoc_filters'].append(to_adhoc(filt, 'SIMPLE', clause))
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/superset/utils.py", line 726, in to_adhoc
       'comparator': filt['val'],
   KeyError: 'val'
   ```

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org