-
Notifications
You must be signed in to change notification settings - Fork 8
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
On some loads, it never realizes an admin may edit cards #690
Comments
When that happens today, as happens reasonably often in #690, this swallows the error and makes it harder to debug. There shouldn't be an error under normal flows I don't think, and if the permissions doc doesn't exist the snapshot will have an exists() false, and return undefined from data(), which is already handled.
An example error when this happens: card-web-app-b8587828.js:1 [2024-06-24T14:56:43.457Z] @firebase/firestore: Firestore (10.11.0): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds. |
A few things to try:
|
This is a temporary hack to get around the very-long-load time for unpublished cards leading to firestore erroneously thinking the storage is down. Part of #690.
#665 seems related |
Seems to be happening more with 13k cards in production. After a few refreshes, one of them will notice that the user has editor permissions.
The text was updated successfully, but these errors were encountered: