Skip to content

Switching edition doesn't work #3558

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

Open
pivic opened this issue Apr 22, 2025 · 1 comment
Open

Switching edition doesn't work #3558

pivic opened this issue Apr 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@pivic
Copy link

pivic commented Apr 22, 2025

Describe the bug
This is the same kind of bug that I've written about before, which was closed: #3167

When trying to switch edition from one book to another, I get the

To Reproduce
Steps to reproduce the behavior:

  1. I go to https://bookwyrm.social/book/940778/s/precipice

I see this page:

Image

  1. I select one of the Switch to this edition buttons.
  2. I end up on https://bookwyrm.social/switch-edition and I see this error message:' Server Error
    Something went wrong! Sorry about that.'

Expected behavior
To be able to switch from one book edition to another.

Screenshots
The error page that appears on step 3:

Image

Instance
https://bookwyrm.social


Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version 135.0.7049.85 (Official Build) (64-bit)

Smartphone (please complete the following information):
- Device: Nothing 2a
- OS: Android 14
- Browser: Ironfox
- Version 137.0.2

@pivic pivic added the bug Something isn't working label Apr 22, 2025
@timothyjrogers
Copy link
Contributor

I'm having trouble reproducing this, in fact the current version doesn't seem to let me have the same book (even with different editions) on multiple shelves at once. In your screenshot it says you have different editions on both Read and To Read. I wonder if it's possible a previous version of Bookwyrm would let you put different editions on different shelves -- which would make sense, people do read multiple editions of things -- but now it doesn't and those books were not migrated properly in the database. I can't say for sure since I haven't been able to reproduce, but my gut says that could easily lead to a constraint error when you later try to switch editions like you are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants