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

   ### Bug description
   
   When editing a Handlebars chart, if you modify the dataset and save, the 
Handlebars template will revert to its default state. If you are unaware of 
this behavior and save the chart, your custom template will be lost.
   
   1. Open a Handlebars chart.
   2. Edit the dataset and save the changes.
   3. Observe that the Handlebars template field has been reset to the default, 
and your custom code has been replaced.
   
   ### Screenshots/recordings
   
   
   
https://github.com/user-attachments/assets/c4236db8-9c85-48ef-80c4-83bb765f66e7
   
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   This is not a new bug. I noticed it first in 4.0.0
   
   ### Checklist
   
   - [ ] 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.
   - [ ] 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]

Reply via email to