Incubator-superset: Filter Box cannot be used only with time range, shows error

Created on 6 May 2019  路  5Comments  路  Source: apache/incubator-superset

When filter box is open in explore mode, then there is an error coming in the right hand side view. Then, add one more filters from select dropdown, the error will get vanished.

Expected results

When filter box is open in explore mode, then there should be no error and time range filters can be added by default without any other mandate filters

Actual results

When filter box is open in explore mode, then there is an error coming in the right hand side view. Adding one more filters from select dropdown, will remove the error

Screenshots

FilterBoxBug

How to reproduce the bug

  1. Go to Charts and Add a new Chart
  2. Choose a datasource and Choose a viz type as FilterBox
  3. Click on Create a new chart
  4. Observe that error is coming on right hand side explorer view

Environment

  • superset version: master
  • python version: 3.6.5
  • node.js version: 8.9.4
  • npm version: 6.9.0

Checklist

  • [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [x] I have reproduced the issue with at least the latest released version of superset.
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

NA

#bug P1 Bug v0.32 v0.33

All 5 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.92. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

+1 on seeing this in production on Superset 0.32.0rc2
Flask 1.0.2
Python 3.6.7 (default, Oct 25 2018, 09:16:13)

node --version
v10.10.0

+1 on branch master , it should be a hint to add a filter
image

also there is a frontend problem: error messages on the right can not be seen fully (no scroll bar)

There's a workaround (in master) to get charts working until this bug is fixed, if you click on the + button under "Filters" on your filter box and then remove the control box that pops up that says "N/A" your chart should work even without adding additional filters. Once you do this save your filter chart and it should work.

It seems that this will work if you have "filter_configs":[] in form_data but existing slices don't have that param. I originally set this as a P1 but it could probably be a P2.

cc: @mistercrunch looks like an issue related to the filters change

fixed by #7593

Was this page helpful?
0 / 5 - 0 ratings