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

Error when trying to add new filter on dashboard #23564

Closed
3 tasks done
levysam opened this issue Apr 3, 2023 · 0 comments · Fixed by #23565
Closed
3 tasks done

Error when trying to add new filter on dashboard #23564

levysam opened this issue Apr 3, 2023 · 0 comments · Fixed by #23565
Labels
#bug Bug report

Comments

@levysam
Copy link

levysam commented Apr 3, 2023

A clear and concise description of what the bug is.

How to reproduce the bug

  1. Go to 'dashboards'
  2. Click on '+ dashboard'
  3. Create any chart and add to dashboard
  4. Create a time range filter for the dashboard
  5. Save filters change
  6. Back to add edit filters
  7. Try to create new filter
  8. See error

Expected results

Create new filter

Actual results

Error when try to create a new filter

Screenshots

Captura de Tela 2023-04-03 às 14 10 14

Environment

  • browser type and version: Chrome version: 111.0.5563.146
  • superset version: [2.1.0rc3](https://github.com/apache/superset/releases/tag/2.1.0rc3)
  • python version: 3.8.16
  • node.js version: 16

Checklist

  • 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

Node trace:
Uncaught TypeError: Cannot read properties of undefined (reading 'includes')
at module.exports (includes.js?1b0d:9:1)
at eval (FiltersConfigForm.tsx?ed82:654:1)
at Array.some ()
at FiltersConfigForm (FiltersConfigForm.tsx?ed82:654:1)
at renderWithHooks (react-dom.development.js?61bb:14804:1)
at updateForwardRef (react-dom.development.js?61bb:16817:1)
at beginWork (react-dom.development.js?61bb:18646:1)
at HTMLUnknownElement.callCallback (react-dom.development.js?61bb:189:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js?61bb:238:1)
at invokeGuardedCallback (react-dom.development.js?61bb:293:1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant