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

   ### Bug description
   
   Steps to reproduce:
   1. Open physical dataset
   2. Create metric with name "test" and sql expression = 1
   3. Save dataset
   4. Edit dataset again: set metric currency for this metric as Prefix + USD
   5. Save dataset
   6. Edit dataset again: check "test" metric and notice that prefix and 
currency are empty
   7. Set metric currency to Prefix + USD again
   8. Try to save dataset and you receive error
   
   From now on you can't save dataset without this error. Only removing this 
metric completely let you save dataset.
   
   
   ### Screenshots/recordings
   
   
![Image](https://github.com/user-attachments/assets/5c6d1981-bc02-401a-b404-e7997120ae22)
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   This bug occures in development mode on version 5.0.0 installed locally via 
docker compose.
   
   ### 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.
   - [ ] 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