ktmud opened a new pull request #9275: fix(table-chart): bump legacy-table-chart to 0.11.18 URL: https://github.com/apache/incubator-superset/pull/9275 ### CATEGORY - [x] Bug Fix ### SUMMARY The new table chart implementation added in #9269 and #9234 throws a JS error when query results are empty but the metric list is not empty. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before: there is a JS error when query results are empty for a table visualization with metrics: ```text An error occurred while rendering the visualization: TypeError: Cannot read property '<metric_name>' of undefined ``` After: it should show "no data available in table".  ### TEST PLAN 1. Create a new Chart 2. Add some metrics 3. Add a query filter that produces empty results 4. Run the query and check the chart ### ADDITIONAL INFORMATION N/A ### REVIEWERS cc: @etr2460 @kristw @graceguo-supercat
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
