-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Open
Labels
cares:presetPreset cares about this issuePreset cares about this issuedashboard:errorRelated to Dashboard errorsRelated to Dashboard errorsgood first issueGood first issues for new contributorsGood first issues for new contributorshome:favoriteRelated to the "favorite" section of the HomepageRelated to the "favorite" section of the Homepage
Description
Bug description
To reproduce the error - it is necessary
1)Create a dashboard - save it
2)Delete the newly created dashboard
3) go to any other dashboard and get the error 'There was an issue fetching the favorite status of this dashboard'.
I also noticed that if the dashboard is not deleted, then every time you go to the dashboard, requests will be executed.
api/v1/dashboard/favorite_status/
and
superset/log/?explode=event
of the previous dashboard.
Screenshots/recordings
Created Dashboard with id = 258

When loading a dashboard with id = 55 - you can see that some methods work with the old dashboard id 258.

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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cares:presetPreset cares about this issuePreset cares about this issuedashboard:errorRelated to Dashboard errorsRelated to Dashboard errorsgood first issueGood first issues for new contributorsGood first issues for new contributorshome:favoriteRelated to the "favorite" section of the HomepageRelated to the "favorite" section of the Homepage