ARBS-23 opened a new issue, #42468: URL: https://github.com/apache/superset/issues/42468
### Bug description When editing a dataset metric’s **currency** from the chart editor (via **Edit Dataset**), the updated currency format is not applied to the chart preview until the page is refreshed. The dataset metric saves successfully, but the in-memory chart preview continues to use the previous currency formatting. ### How to reproduce the bug 1. Log in as a user with edit permissions 2. Go to **Charts** 3. Open an existing chart for edit, or create a new chart 4. Preview the chart using a dataset metric (a **Big Number** chart makes this easy to verify) 5. In **Chart Source**, click **...** beside the dataset name 6. Click **Edit Dataset** 7. Open the **Metrics** tab and expand a metric’s details (**+**) 8. Change the metric **currency** 9. Save the dataset 10. Return to the chart and review the preview again ### Expected behavior The chart preview should immediately reflect the updated metric currency formatting after saving the dataset. ### Actual behavior The chart preview still shows the previous currency format until the page is refreshed. ### Screenshots/recordings https://github.com/user-attachments/assets/77872f12-ddc1-4781-b62f-e2afd686f593 ### Superset version 6.1.0 ### Python version 3.11 ### Node version 16 ### Browser Chrome ### Additional context - Reproduced from the chart editor flow: **Chart Source → ... → Edit Dataset** - Affects metric display formatting in chart preview (observed with **Big Number**) - Dataset save succeeds; only the preview/cache/state appears stale until full page refresh - Likely related to chart editor not invalidating or reloading dataset/metric metadata after inline dataset edit ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
