[control][metrics] missing one custom metric will cause whole chart broken #16719
Closed
3 tasks done
Labels
#bug:regression
Bugs that are identified as regessions
#bug
Bug report
explore:control
Related to the controls panel of Explore
How to reproduce the bug
Screenshots
before
The old behavior is no much better: it only shows the error was caused by missing metric, but user could not fix the chart either.
Expected behavior
Environment
latest master
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
This issue is introduced by PR #16196.
superset/superset-frontend/src/explore/components/controls/MetricControl/MetricsControl.jsx
Line 256 in a547dcb
This behavior probably have to be fixed. We have many dataset that was used very long time, and it might always has been some updates over the time. Because one of Metric is not available, the whole chart is broken. There is no way for user to realize what is wrong and how to fix it, this is the biggest problem.
cc @junlincc @kgabryje @ktmud
The text was updated successfully, but these errors were encountered: