Skip to content
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

A casebook can be added to two series, leading to an inconsistent state #1698

Open
lizadaly opened this issue Aug 9, 2022 · 0 comments
Open

Comments

@lizadaly
Copy link
Contributor

lizadaly commented Aug 9, 2022

Because the CommonTitle model has both a direct foreign key field for the current title, and an indirect relationship through the Casebook model to a common_title id, it's theoretically possible for a casebook to end up in two series as the current title in one but a subsidiary title in another.

And indeed it's possible to do this through the UI:

  • Have two series with at least 2 books in each.
  • In the manage screen, select the current title from one series, and then select "Add selected to group" in the other series.

You'll get a dashboard like this:

image

with the same casebook in two series, under different fields.

@lizadaly lizadaly added the bug label Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant