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

Book that is currently not available - alternative #30

Closed
ccristian opened this issue May 3, 2019 · 1 comment
Closed

Book that is currently not available - alternative #30

ccristian opened this issue May 3, 2019 · 1 comment

Comments

@ccristian
Copy link

"When a patron tires to place on hold a book that is currently not available it should not be possible, thus resulting in book hold failed event, as it is depicted below"

The book view should not let the patrol to hold only available books ?
(grey out the others etc)

In this way will be impossible to to hold a book that is not available ....

@pilloPl
Copy link
Member

pilloPl commented May 8, 2019

Yes, but also that means that we would have to pessimimisticaly lock everything degrading scalability

If you are looking at the rendered view of available books you are doing it for a moment. In this moment someone else could have gotten the book.

@pilloPl pilloPl closed this as completed May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants