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

My library page shows no games #501

Closed
andrew-codes opened this issue Aug 17, 2024 · 2 comments · Fixed by #502 or #503
Closed

My library page shows no games #501

andrew-codes opened this issue Aug 17, 2024 · 2 comments · Fixed by #502 or #503
Assignees
Labels
app:playnite-web Web app bug Something isn't working released

Comments

@andrew-codes
Copy link
Owner

andrew-codes commented Aug 17, 2024

There is an error loading some games on the My library page which prevents all games from loading. Determine the root cause and fix. This error shows for approximately 4 or 5 games.

"errors": [
    {
      "message": "Unexpected error.",
      "locations": [
        {
          "line": 5,
          "column": 5
        }
      ],
      "path": [
        "games",
        207,
        "cover"
      ]
    },

It appears that when the library syncs for the first time, there are some number of games that are added to the consolidated-games collection without a release ID. This causes a game to be created with no releases, which is not allowed given a game in the library is computed as one or more grouped releases.

@andrew-codes andrew-codes added bug Something isn't working app:playnite-web Web app labels Aug 17, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage 🗃️ in Playnite-Web Aug 17, 2024
@andrew-codes andrew-codes moved this from Needs Triage 🗃️ to Ready 📝 in Playnite-Web Aug 17, 2024
andrew-codes added a commit that referenced this issue Aug 17, 2024
Show games on the library page if game data exists. Log errors to
console.

✅ Closes: #501
@github-project-automation github-project-automation bot moved this from Ready 📝 to Done ✅ in Playnite-Web Aug 17, 2024
@andrew-codes andrew-codes reopened this Aug 17, 2024
@github-project-automation github-project-automation bot moved this from Done ✅ to Ready 📝 in Playnite-Web Aug 17, 2024
@andrew-codes andrew-codes changed the title No games show up when graphql errors are found, despite there being game data returned My library page shows no games Aug 17, 2024
Copy link

🎉 This issue has been resolved in version 5.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

andrew-codes added a commit that referenced this issue Aug 18, 2024
Ensure a game (`consolidated-game`` collection) always has at least one
release. Also add indexes to collections.

✅ Closes: #501
@andrew-codes andrew-codes self-assigned this Aug 18, 2024
@andrew-codes andrew-codes moved this from In Progress ▶️ to Review 🎥 in Playnite-Web Aug 18, 2024
andrew-codes added a commit that referenced this issue Aug 18, 2024
@github-project-automation github-project-automation bot moved this from Review 🎥 to Done ✅ in Playnite-Web Aug 18, 2024
Copy link

🎉 This issue has been resolved in version 6.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:playnite-web Web app bug Something isn't working released
Projects
Archived in project
1 participant