-
Notifications
You must be signed in to change notification settings - Fork 25
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
Requests for patrons by librarians are impossible with librarian accounts of a specific library #2234
Comments
I was not able to reproduce this behaviour. I could place a request on this document (holdings of Bibliothèque des Archives de l'Etat de Neuchâtel (Neuchâtel): Réserve) as a patron, as a BPUN librarian AND as a BPUN system librarian. We see that the items of the location Bibliothèque publique de Neuchâtel - Fonds d'étude : Réserve cannot be requested, because requests were disabled on the location (usually, items of this item type can be requested). This is also correct. Done on bib.test.rero.ch |
On https://bib.test.rero.ch, as a patron, I tried to place a request on the same document, holdings of Bibliothèque des Archives de l'Etat de Neuchâtel (Neuchâtel): Réserve), selecting Bibliothèque publique de Neuchâtel - lecture publique as a pickup location, and the request fails: As a librarian, placing a request on the same item, on behalf of a patron, selecting Bibliothèque publique de Neuchâtel - lecture publique as a pickup location, and the request fails: I have the exact same behavior on https://bib.rero.ch. I'll try to reproduce on https://ils.test.rero.ch. |
@iGormilhit I could reproduce it on ils.test.rero.ch:
Expected behaviour: |
@pronguen Thanks a lot! This also prevent a patron to place a request on any item not belonging to this library, but with this library as a pickup location. |
* Checks the owning location `allow_request` property to decide if an item can be requested. * Closes rero#2234. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
* Checks the owning location `allow_request` property to decide if an item can be requested. * Closes rero#2234. * Logs an error and do a db rollback for holding views. * Fixes tests that failed every two monthes. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
* Checks the owning location `allow_request` property to decide if an item can be requested. * Closes rero#2234. * Logs an error and do a db rollback for holding views. * Fixes tests that failed every two monthes. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
* Checks the owning location `allow_request` property to decide if an item can be requested. * Closes rero#2234. * Logs an error and do a db rollback for holding views. * Fixes tests that failed every two monthes. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
* Checks the owning location `allow_request` property to decide if an item can be requested. * Closes #2234. * Logs an error and do a db rollback for holding views. * Fixes tests that failed every two monthes. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
@iGormilhit This bug still happens on ils.test.rero.ch (v.1.4.11). Could you verify on your side and reopen the issue? |
Describe the bug
When connected as a librarian working at BPUN (RBNJ), it impossible to create request for patrons on every item that are not owned by the BPUN library. The BPUN library deactivate request on its own items during holidays.
The pickup location does not matter, for every pickup the request is impossible.
-> Hypothesis: if the pick-up location of the login library does not allow the requests, there are server errors.
To Reproduce
Expected behavior
The request should succed.
Context
v1.4.5
.Screenshots
Additional context
From the patron point of view, any request with a pickup libary of the BPUN will also fail.
The text was updated successfully, but these errors were encountered: