-
Notifications
You must be signed in to change notification settings - Fork 330
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
Brews removed from Google Drive cannot be deleted from "My Brews" page. #2954
Comments
This is a strange one... I just went through the process using one of my old brew stored on Google Drive, and everything works as expected, so there must be something strange happening.
Alternatively, somehow the brew might still be showing up in Google Drive because the information being returned to the UserPage is incorrect - if a file somehow was returning an Possible causes:
|
Inspecting the user-provided link (https://homebrewery.naturalcrit.com/share/1-gwB3caElgqoqwHmQA0guHbD2P56EoBQ1wNbCNj9DJ-D) with the React Component Inspector shows that the returned error definitely has |
Without access to the specific edit and share IDs for the file, I can immediately see that the shareID is much longer than a stubbed brew. So either the shareID is coming from Google itself - which would be strange, as the user reports that the brew is already deleted there - or there is a very long share ID in the HB MongoDB somewhere. |
I was able to reproduce this issue by using Google Drive's permissions settings to set the file access to |
I believe that we can prevent this issue from re-occurring by modifying the |
Have we communicated to the user that we think their brew does exist on their google drive somewhere? My understanding from their post is that the brew is lost and unrecoverable. We can still fix the deleting issue, but if this is really just due to sharing settings, their brew is still out there somewhere and they probably want it. |
The following has been posted to Reddit for 11 days now:
I wonder if there is potential value in also adding a link to the Google file in the Brew item, so there is no opportunity for "I can't find my brew in Google Drive" or "my document is missing!" |
PR #2969 is this change, it was a surprisingly simple change to make. |
Was this resolved with the merge? |
This issue no longer appears to be relevant; I believe it can be closed and PR #2955 can now be closed without merging. |
I will need to confirm. I had someone ask me about this again recently but it's possible it's something different. |
But i could delete the brew just now from the user page. |
See https://www.reddit.com/r/homebrewery/comments/158k1z5/brew_with_missing_google_drive_file_cannot_be/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=2
Logs seem to show we hit an error trying to retrieve the brew since it doesn't exist, and so we fail out without proceeding to just remove the stub.
The text was updated successfully, but these errors were encountered: