YA-MSH commented on issue #24525:
URL: https://github.com/apache/superset/issues/24525#issuecomment-1624919546

   Situation is worst for me: I have a fresh install of Superset in 2.1.0 and 
no dashboard can be saved from "EDIT DASHBOARD" mode, even an empty dashboard 
without charts.
   I removed and recreated the metadata database without examples, no change.
   
   Good idea to look at browser log.
   I have some warnings like:
   `Warning: Expected `onClick` listener to be a function, instead got a value 
of `number` type.`
   
   And for the PUT request
   Request:
   
`{"certified_by":"","certification_details":"","css":"","dashboard_title":"test","slug":null,"owners":[1],"json_metadata":"{\"color_scheme\":\"\",\"positions\":{\"DASHBOARD_VERSION_KEY\":\"v2\",\"ROOT_ID\":{\"type\":\"ROOT\",\"id\":\"ROOT_ID\",\"children\":[\"GRID_ID\"]},\"GRID_ID\":{\"type\":\"GRID\",\"id\":\"GRID_ID\",\"children\":[],\"parents\":[\"ROOT_ID\"]},\"HEADER_ID\":{\"id\":\"HEADER_ID\",\"type\":\"HEADER\",\"meta\":{\"text\":\"test\"}}},\"refresh_frequency\":0,\"shared_label_colors\":{},\"color_scheme_domain\":[],\"expanded_slices\":{},\"label_colors\":{},\"timed_refresh_immune_slices\":[],\"cross_filters_enabled\":false,\"default_filters\":\"{}\",\"filter_scopes\":{},\"chart_configuration\":{},\"global_chart_configuration\":{}}"}`
   
   State: 400 BAD REQUEST
   Response:
   `{"message":{"json_metadata":[{"global_chart_configuration":["Unknown 
field."]}]}}`
   


-- 
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