You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Vedant1599 (via GitHub)" <gi...@apache.org> on 2025/03/21 05:34:29 UTC

[I] Not able to save changes to the dashboard [superset]

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

   ### Bug description
   
   After changing the layout of the dashboard I am not able to save it it gives below error
   My superset version is 4.1.1
   
   ![Image](https://github.com/user-attachments/assets/1380d7e6-7c02-4ad0-9db6-eb885936e15c)
   
   ![Image](https://github.com/user-attachments/assets/308d9aa0-77d3-4796-b4f4-443b08a3ef5f)
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.1.1
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [ ] 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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Not able to save changes to the dashboard [superset]

Posted by "Vedant1599 (via GitHub)" <gi...@apache.org>.
Vedant1599 commented on issue #32784:
URL: https://github.com/apache/superset/issues/32784#issuecomment-2742593140

   I was able to solve the issue by going to edit chart then advance and then removed the map_label_color object then it started working


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Not able to save changes to the dashboard [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #32784:
URL: https://github.com/apache/superset/issues/32784#issuecomment-2742339407

   <!-- Greeting -->
   Hey @Vedant1599! 👋 I'm here to help you with any bugs, questions, or contributions you have for Superset. I'm a bot designed to assist you while you wait for a human maintainer.
   
   <!-- Answer -->
   The error you're encountering when trying to save changes to the dashboard in Superset version 4.1.1 is related to the fields `map_label_colors` and `shared_label_colors`. This issue can occur if there is a version mismatch between Superset's frontend and backend components, or due to outdated or inconsistent metadata in the dashboard configuration. 
   
   To resolve this issue, ensure that you are running the same version of Superset on both the frontend and backend. Additionally, check if the dashboard metadata is being correctly updated and synchronized by the application. The Superset codebase includes mechanisms to handle backward compatibility for these fields, ensuring they are initialized properly if missing. Specifically, the `superset/daos/dashboard.py` file sets default values for these fields if they are not provided <sup>[[1]](https://github.com/apache/superset/issues/31397)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset/daos/dashboard.py)</sup>.
   
   I found a similar closed issue, but no solution was found in the comments <sup>[[3]](https://github.com/apache/superset/issues/22106)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/3a4c8dae-ff7c-40f6-8a81-331848a46f90?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/3a4c8dae-ff7c-40f6-8a81-331848a46f90?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/3a4c8dae-ff7c-40f6-8a81-331848a46f90?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/3a4c8dae-ff7c-40f6-8a81-331848a46f90?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/3a4c8dae-ff7c-40f6-8a81-331848a46f90?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/3a4c8dae-ff7c-40f6-8a81-331848a46f90?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/3a4c8dae-ff7c-40f6-8a81-331848a46f90?feedback_type=other)</sup>
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Not able to save changes to the dashboard [superset]

Posted by "Vedant1599 (via GitHub)" <gi...@apache.org>.
Vedant1599 closed issue #32784: Not able to save changes to the dashboard
URL: https://github.com/apache/superset/issues/32784


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org