hanslemm commented on issue #12495:
URL: https://github.com/apache/superset/issues/12495#issuecomment-1570659806

   For anyone looking into this, the solution we found was:
   - When importing dashboards from one unstable version (I don't recall which 
one now) to Superset version at 2.0.1, the YAML file generated for the 
dashboards contained this:
   ```YAML
   metadata:
     color_scheme_domain: []
   ```
   If you remove `color_scheme_domain: []` from the YAML the dashboards become 
editable again.
   If you have multiple YAML files (which most likely you do), you can run the 
following command:
   ```bash
   find /path/to/folder -name "*.yaml" -type f -exec sed -i 
'/color_scheme_domain: \[\]/d' {} \;
   ```


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