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

   ### Bug description
   
   I am experiencing a similar issue to the one reported in [Issue 
#31317](https://github.com/apache/superset/issues/31317). I am unable to edit 
or add new dashboards.
   
   Steps to Reproduce:
   - create a new dashboard.
   - add a layout element (e.g., a divider bar).
   - attempt to save the dashboard.
   
   Observed Behavior
   - The dashboard fails to save.
   - In the payload sent, the new fields required by the schema (e.g., 
map_label_colors and shared_label_colors) are not present.
   - This behavior was observed on commit 
**827fe0690327604338125adcf2eafd9bc7701ec0**.
   
   This issue does not occur on commit 
**f704b0f5568bc5d07360d8d365510369a6088011** (Commits on Nov 6, 2024).
   
   The issue seems related to changes introduced in commit 
[90572be95adf3f2a92e53d0af53027d1d0ad0530](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530).
   
   Example of the error encountered:
   ```
   {
     "message": {
       "json_metadata": [
         {
           "map_label_colors": ["Unknown field."],
           "shared_label_colors": ["Not a valid mapping type."]
         }
       ]
     }
   }```
   
   ### Screenshots/recordings
   
   ![Screenshot 2024-12-11 at 01 21 
55](https://github.com/user-attachments/assets/9512eb9c-d5e0-48c1-bcef-43d23ff3f11c)
   
   
   ### Superset version
   
   master / latest-dev
   
   ### 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: [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