zhaorui2022 opened a new issue, #25154:
URL: https://github.com/apache/superset/issues/25154

   While going through some legacy charts already exist in database. Sunburst 
charts no longer render in 3.0.0rc3, while it's working in 2.0.0. 
   
   #### How to reproduce the bug
   I have tried to create a new sunburst chart but it seems the form data 
doesn't contain `secondary_metrics` with `null` as the value any more. However, 
we do have existing charts in production database contains such fields. In 
order to reproduce, we need to manually modify the chart from the backend db 
and add a null value for `secondary_metrics`.
   
   1. Create a sunburst chart
   2. Modify the chart from backend db and inject null as value for 
secondary_metrics.
   3. Refresh chart
   4. See error
   
   ### Expected results
   Sunburst chart renders as what it does in 2.0.0
   
   ### Actual results
   Chart complains about the null value and fails to render
   
   #### Screenshots
   
   In 3.0.0rc3
   ![3 0 
0rc3](https://github.com/apache/superset/assets/105950525/8e6d1e42-5937-4e0b-b67a-9e374d889aa7)
   
   
   In 2.0.0
   ![2 0 
0](https://github.com/apache/superset/assets/105950525/482b19d7-fb2c-460e-8fd2-17907859d563)
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Chrome latest stable release
   - superset version: `superset version` 3.0.0rc2
   - python version: `python --version` 3.9
   - node.js version: `node -v` N/A
   - any feature flags active: I don't find any related feature flags
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] 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.
   
   ### Additional context
   
   Add any other context about the problem here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to