Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Native Filter] change filter column did not update the column value on dashboard #16813

Closed
2 of 3 tasks
jinghua-qa opened this issue Sep 23, 2021 · 1 comment · Fixed by #16833
Closed
2 of 3 tasks
Assignees
Labels
#bug Bug report dashboard:native-filters Related to the native filters of the Dashboard P1 Priority item - Major preset:QA Preset QA team test:case

Comments

@jinghua-qa
Copy link
Member

jinghua-qa commented Sep 23, 2021

After change the filter column to another, i still see the old values of the old filter, and also when one of the filter changed, my other filter got clear.

Expected results

  1. After one of the filters is being edited by column change, previous selected filter values on dashboard should be cleared.
  2. Selected filter values on dashboard of the unchanged filter(s) should remain the same.

Actual results

1, when change to new column, that filter value also did not update - opposite of expected result
2, other filter got clear - opposite of expected result

Screenshots

native.filter.update.mov

How to reproduce the bug

  1. Create at least 2 native filter and select some value to apply
  2. Edit one of the filters by changing the column
  3. Save and go back to the dashboard
  4. See error

Environment

(please complete the following information):

  • browser type and version:
  • superset version: 2021.38.1
  • python version: python --version
  • node.js version: node -v
  • any feature flags active:

Checklist

Make sure to follow these steps before submitting your issue - thank you!

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

Additional context

Add any other context about the problem here.

@jinghua-qa
Copy link
Member Author

Testcase added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report dashboard:native-filters Related to the native filters of the Dashboard P1 Priority item - Major preset:QA Preset QA team test:case
Projects
None yet
3 participants