superset: Upgrading from 2.0.0 to 2.0.1rc2 causes an error when setting owner and roles on dashboard

  1. Spin up an 2.0.0 Superset instalation in docker
  2. Create Dashboard.
  3. Edit setting on dashboard and you are able to set owner, and roles on dashboard
  4. Upgrade to 2.0.1rc2
  5. Edit setting on dashboard

Expected results

In owner and roles you should be able to select user / role

Actual results

An error appears in drop down: Cannot read properties of undefined (reading ‘active’). This happens both in Owner and Role

Screenshots

image image

Environment

(please complete the following information):

  • browser type and version: Chrome 106.0.5249.119
  • superset version: 2.0.1
  • python version: 3.8.12
  • node.js version: node -v
  • any feature flags active: {“ALERT_REPORTS”: True, “DASHBOARD_CROSS_FILTERS”: True, “DASHBOARD_RBAC”: True, “THUMBNAILS” : True, “THUMBNAILS_SQLA_LISTENERS”: True, “ENABLE_TEMPLATE_PROCESSING”: True, “ENABLE_TEMPLATE_REMOVE_ FILTERS”: True, “ENABLE_SCHEDULED_EMAIL_REPORTS”: True, “EMAIL_NOTIFICATIONS”: True, “EMBEDDED_SUPERSET”: True}

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

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 19 (10 by maintainers)

Most upvoted comments

This should be fixed for 2.0.1. Closing the issue, but feel to reopen if you find it again while testing.

yes still open. on my instance I get this error message in the newest rc5 image