Incubator-superset: Annotation don't update when filter change

Created on 28 Aug 2020  路  2Comments  路  Source: apache/incubator-superset

When select a filter region the annotation don't update.

We selected for example: North America.

Expected results

Chart: "Growth Rate and Annotation Region":

  • Bermuda
  • Canada
  • United States
  • Annotation, North America

Actual results

Chart: "Growth Rate and Annotation Region":

  • Bermuda
  • Canada
  • United States
  • Annotation, North America
  • Annotation, East Asia & Pacific
  • Annotation, Europe & Central Asia
  • Annotation, Latin America & caribbean
  • Annotation, Middle East & North Africa
  • Annotation, South Asia
  • Annotation, Sub-Saharan Africa

Screenshots

annotation_filter_error16

How to reproduce the bug

  1. Create a new chart line with region group.
  2. Add the new chart as annotation in Growth Rate chart.
  3. Save as "Growth Rate and Annotation Region".
  4. Select region in Region Filter .
  5. See error in "Growth Rate and Annotation Region".
  6. Annotation don't update when filter change.

Create a new chart line with region group

chart_growth_rate_region

Add the new chart as annotation in Growth Rate chart.

chart_growth_rate_and_annotation_region_config

Environment

  • superset version: 0.37.0 with docker
  • python version: 3.7
  • node.js version: v14.8.0

Checklist

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

Most helpful comment

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 2 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Was this page helpful?
0 / 5 - 0 ratings