mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🐛 Bug Report: Blank My Apps tiles repeating #89
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mitchplze on GitHub.
Reproduction steps
Hello, I have just setup Client Launch URLs for each of my apps. Nifty!
The My Apps view seems to show the tiles properly, but also there is a random tile (with my Pocket ID app logo) that appears randomly after some of them:
When I click on one and then Edit, I am taken to
settings/admin/oidc-clientsI have cleared cache and restarted, same issue.
Expected behavior
Apps should be shown without extra buggy tiles
Actual Behavior
Random tiles everywhere!
Version and Environment
Version
1.7.0on dockerLog Output
No response
@stonith404 commented on GitHub:
Thanks for reporting this.
The issue is that the authorizations (the app cards in the dashboard) don't get deleted if the corresponding OIDC client gets deleted. This is because default connection string for Sqlite doesn't enforce foreign key constraints, we have to add the
foreign_keys=onoption.Before we add this option we have to check all foreign key constraints in the Sqlite database schema to make sure that this doesn't break anything. I'll look into it as soon as I have time.
@stonith404 commented on GitHub:
Yeah, I linked the wrong issue in the PR. This should be fixed too and will be available in the next release.
@ElioDiNino commented on GitHub:
@stonith404 Was this also fixed as part of #832?