Closed rumbin closed 3 years ago
I am experiencing quite similar behavior when issuing the Schedule Email Report button on two different dashboards subsequently. In this case it can happen that the New Email report dialog does not open, but the Email reports active pop-up is shown, which in turn refers to the report of the former dashboard instead of the currently viewed dashboard.
Unfortunately, I am now failing to reproduce this, although it "worked" several times before trying to record the screencast. So, debugging will be tricky, I guess.
Debugging:
I deactivated all these feature flags temporarily, ran superset init
and could still reproduce the issue:
"ALERTS_ATTACH_REPORTS": False,
"DASHBOARD_NATIVE_FILTERS": False,
"DASHBOARD_CROSS_FILTERS": False,
"DASHBOARD_NATIVE_FILTERS_SET": False,
"ENABLE_EXPLORE_DRAG_AND_DROP": False,
"DASHBOARD_CACHE": False
@rumbin thanks for the details! to confirm, you ARE ABLE TO reproduce this issue with the above FeatureFlags on?
@rumbin also 1. have you tried to reproduce it on dashboard that has NO filterboxes?
@rumbin thanks for the details! to confirm, you ARE ABLE TO reproduce this issue with the above FeatureFlags on?
@junlincc
Yes, the issue is present with both the abovementioned feature flags turned off an on, respectively.
I also did execute superset init
after toggling them.
@rumbin also 1. have you tried to reproduce it on dashboard that has NO filterboxes? 2. have you tried editing charts by changing the query, instead of just the color scheme? is it still a proble? please let use know, thanks!
@junlincc I performed some more tests and varied many possible influences.
⇒ The issue is still present :-(
Editing two charts of two different dashboards in a row can lead to having the Save Chart dialog refering to the wrong chart origin, i.e., to the dashboard where the formerly edited chart originated from.
How to reproduce the bug
Expected results
Anytime a chart is being edited via the View in Explore menu item of a dashboard, the save dialog suggests to overwrite/replace the chart within this very dashboard.
This used to be the default behavior for a long tome and was working flawlessly at least up to Superset 1.0.1
Actual results
Screenshots/Screencasts
Environment
Checklist
Additional context
´pip freeze´