superset icon indicating copy to clipboard operation
superset copied to clipboard

plugin-chart-table: Chart looses customization on save

Open mayurnewase opened this issue 3 years ago • 0 comments

A clear and concise description of what the bug is.

When table chart is saved with conditional formatting, it reloads the page without those customizations. But after reloading it again correctly sets the customizations.

How to reproduce the bug

  1. create table chart on any data
  2. in customize tab, add conditional formatting on any column
  3. click on save
  4. see colors disappear
  5. reload the page again, should show colors in the cell correctly.

Expected results

what you expected to happen.

Actual results

what actually happens.

Screenshots

Screencast from 17-09-22 03:07:57 PM IST.webm

If applicable, add screenshots to help explain your problem.

Environment

(please complete the following information):

  • browser type and version: crome
  • superset version: latest master (last commit sha: 8c16806f5759ecc53ecef88a2e96e2e0964bffc6)
  • python version: 3.9
  • node.js version: 16.13.1
  • any feature flags active: no

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.

mayurnewase avatar Sep 17 '22 09:09 mayurnewase