robson-koji opened a new issue, #28313:
URL: https://github.com/apache/superset/issues/28313

   ### Bug description
   
   Hi, I think there is a bug. I am using the most recent version, 4.0.0. I am 
using tabs in the dashboard, and for some unknown reason, some charts that I 
added to one tab also display in all other tabs. If I delete this chart from 
one tab, it also deletes from all the other tabs. If I add another tab, these 
charts will be added automatically if they are present in the other tabs.
   
   I started to debug and I think I've found how this happens, but not why. 
Looking at the database table 'dashboards', column 'position_json', all working 
charts have five parents, but the wrong charts don't have the parent tabs.
   
   ```
       "CHART-psM0LLtTBc": {
           "children": [],
           "id": "CHART-psM0LLtTBc",
           "meta": {
               "chartId": 142,
               "height": 50,
               "sliceName": "Sales",
               "uuid": "1e79c3f4-e388-42d8-aa8f-0c41f24351d5",
               "width": 12
           },
           "parents": [
               "ROOT_ID",
               "GRID_ID",
               "TABS-RVg9XImKja",
               "TAB-_5SRUXFBC",
               "ROW-L3m0WfT_l_"
           ],
           "type": "CHART"
       },
       "CHART-uWtgnzN_0_": {
           "children": [],
           "id": "CHART-uWtgnzN_0_",
           "meta": {
               "chartId": 141,
               "height": 64,
               "sliceName": "Shipping",
               "uuid": "d1a48172-4305-47bd-81cc-1a74b398896c",
               "width": 12
           },
           "parents": [
               "ROOT_ID",
               "GRID_ID",
               "ROW-ktUUc_Sn-y"
           ],
           "type": "CHART"
       },
   ```
   
   
   ### How to reproduce the bug
   
   I don't know how to reproduce yet but I can come later.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] 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.
   - [X] 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