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

Wrong pick-up location name in the booking notification #2262

Closed
pronguen opened this issue Aug 3, 2021 · 0 comments · Fixed by #2290
Closed

Wrong pick-up location name in the booking notification #2262

pronguen opened this issue Aug 3, 2021 · 0 comments · Fixed by #2290
Labels
bug Breaks something but is not blocking f: circulation Concerns the circulation interface or backend f: notifications p-High High priority (to be solved in the 2-3 next months) production Issue specifically spotted on the production server

Comments

@pronguen
Copy link
Contributor

pronguen commented Aug 3, 2021

Describe the bug

Some booking notifications have the wrong pick-up location name. It seems that the pick-up name to be inserted in the notification is taken in a previous loan instead of the current loan.

To Reproduce

  1. Choose an item
  2. Add a request for patron A with pick-up location A -> a correct request notification is sent
  3. Add a request for patron B with pick-up location B
  4. Add a request for patron C with pick-up location C
  5. Check-out the item for patron A
  6. Check-in the item and see the generated booking notification: it has A as pick-up location
  7. If you do a checkout for B and then a checkin, see that the new booking notification still has A as pick-up location

Expected behavior

The pick-up location name in the notification is correct.

Context

  • server: bib.rero.ch
  • version: v1.4.6

Example

Date: 2 août 2021, 15:21:17

Titre: Chut pas un bruit ! (dragon endormi) / [texte] Bianca Schulze

Code-barre: 1012321218
Localisation: VOUVRY - Bibliothèque municipale et scolaire / Albums enfants
Cote: SCHU

Lieu de retrait: Vouvry - Bibliothèque municipale et scolaire
Lecteur: 2011014071

Concerns

@pronguen pronguen added f: circulation Concerns the circulation interface or backend f: notifications bug Breaks something but is not blocking p-High High priority (to be solved in the 2-3 next months) production Issue specifically spotted on the production server labels Aug 3, 2021
@pronguen pronguen changed the title Wrong pick-up location name in the request notification Wrong pick-up location name in the booking notification Aug 9, 2021
jma added a commit to jma/rero-ils that referenced this issue Aug 11, 2021
* Closes: rero#2262.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
jma added a commit that referenced this issue Aug 11, 2021
* Closes: #2262.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
@jma jma closed this as completed in #2290 Aug 11, 2021
jma added a commit that referenced this issue Aug 11, 2021
* Closes: #2262.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
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 f: notifications p-High High priority (to be solved in the 2-3 next months) production Issue specifically spotted on the production server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant