-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Switching edition doesn't work #3167
Comments
Same here. The error I get on the web container is this one:
|
Alright scratch that, it's just an issue with caching. When you switch editions, the browser doesn't invalidate the cached "active shelf" edition. I'm not too familiar with how Django caching works so hopefully someone who knows more can help out. I've been trying to replace the value in the cache but it just won't budge. |
Thanks for the investigation @jakejack13! What's easiest in this case is to simply invalidate the cache, rather than updating it (at least, that's what I've seen other parts of the codebase do). I submitted #3217 for review, which would hopefully fix the issue. Thanks again for the investigation work. |
Describe the bug
I try and switch edition of a book and get an error message.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To be able to switch editions.
Screenshots
Screencast of the issue: https://drive.proton.me/urls/VH0EG2VWAM#lxVtv1kf0N8-
Instance
BookWyrm.social
This occurs both via desktop and mobile.
The text was updated successfully, but these errors were encountered: