Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] "Dashboard" and "Top Sessions" break when artist is missing in database #429

Open
M2K3K5 opened this issue Sep 7, 2024 · 0 comments · May be fixed by #430
Open

[Bug] "Dashboard" and "Top Sessions" break when artist is missing in database #429

M2K3K5 opened this issue Sep 7, 2024 · 0 comments · May be fixed by #430

Comments

@M2K3K5
Copy link

M2K3K5 commented Sep 7, 2024

Bug Description

When an artist is not present in the database, the "Dashboard" and "Top Sessions" pages fail to load properly. Additionally, the "Top Sessions" page sends repeated requests to the self-hosted instance without attempting to retrieve the missing data from Spotify or update the database accordingly.

Steps to Reproduce

  1. Navigate to the "Dashboard" or "Top Sessions" pages.
  2. Ensure the artist in question does not exist in the database.
  3. Observe the pages failing to load and the repeated requests being made to the instance.

Expected Behavior

When an artist is missing from the database, the backend should:

  1. Detect the missing data.
  2. Automatically re-fetch the artist information from Spotify.
  3. Update the database with the new data to prevent further failures.
@M2K3K5 M2K3K5 linked a pull request Sep 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant