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

Cancelling a request can lead to wrong status if the pickup location has been changed #3663

Open
PascalRepond opened this issue May 6, 2024 · 0 comments
Labels
bug Breaks something but is not blocking f: circulation Concerns the circulation interface or backend

Comments

@PascalRepond
Copy link
Contributor

Bug description:

If I change the "pickup location" of a request right before cancelling it, the loan and item statuses can be incorrect.

Expected behavior:

When cancelling a loan, the system should take into account the location of the latest "recieve" action (or if there was a "validate") instead of the loan's "pickup location" to determine where an item is and what should be the loan's next status.

Steps to Reproduce:

  1. Request an item from Library A to Library B
  2. Validate the request in Library A
  3. (Recieve the item in Library B)
  4. Change the pickup location of the request to Library A (from the item detailed view)
  5. Cancel the request -> The item becomes "on shelf" but the loan should be "in transit to house"
@PascalRepond PascalRepond added f: circulation Concerns the circulation interface or backend bug Breaks something but is not blocking labels May 6, 2024
@PascalRepond PascalRepond moved this from Inbox to Product Backlog in RERO ILS issues May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking f: circulation Concerns the circulation interface or backend
Projects
Status: Product Backlog
Development

No branches or pull requests

1 participant