-
Notifications
You must be signed in to change notification settings - Fork 26
Error if an item from a library without opening hours is checked out #2419
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
Labels
bug
Breaks something but is not blocking
f: circulation
Concerns the circulation interface or backend
Comments
7 tasks
7 tasks
7 tasks
BadrAly
pushed a commit
to BadrAly/rero-ils
that referenced
this issue
Oct 15, 2021
The transaction locations of a library is selected in the list of pickup locations of the library. This causes issues with libraries that have no pickup location setted. With this commit, for libraries with no pickup locations the system considers the first library location as transaction location for circulation transactions. These libraries can now checkout items directly from other libraries and once checked-in back they go in_transit. * Supports checkout of items of libraries with no opening hours. * Allows requests on items of non-circulating libraries at external locations. * Closes rero#2367, rero#2419. * Adds a non-circulating library to units testing. Co-Authored-by: Aly Badr <aly.badr@rero.ch>
7 tasks
BadrAly
pushed a commit
to BadrAly/rero-ils
that referenced
this issue
Oct 15, 2021
The transaction locations of a library is selected in the list of pickup locations of the library. This causes issues with libraries that have no pickup location setted. With this commit, for libraries with no pickup locations the system considers the first library location as transaction location for circulation transactions. These libraries can now checkout items directly from other libraries and once checked-in back they go in_transit. It is still mandatory to setup library hours and notification settings before checkout items. * Supports checkout of items of libraries with no opening hours. * Allows requests on items of non-circulating libraries at external locations. * Closes rero#2367, rero#2419. * Adds a non-circulating library to units testing. Co-Authored-by: Aly Badr <aly.badr@rero.ch>
BadrAly
pushed a commit
to BadrAly/rero-ils
that referenced
this issue
Oct 26, 2021
The transaction locations of a library is selected in the list of pickup locations of the library. This causes issues with libraries that have no pickup location setted. With this commit, for libraries with no pickup locations the system considers the first library location as transaction location for circulation transactions. These libraries can now checkout items directly from other libraries and once checked-in back they go in_transit. It is still mandatory to setup library hours and notification settings before checkout items. * Upgrades to invenio-circulation v1.0.0a34. * Supports checkout of items of libraries with no opening hours. * Fixes problem when in transit flash message was always displaying the pickup library. * Allows requests on items of non-circulating libraries at external locations. * Closes rero#2367, rero#2419. * Adds a non-circulating library to units testing. Co-Authored-by: Aly Badr <aly.badr@rero.ch>
7 tasks
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 14, 2023
- in progress - TODO: add a test - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 15, 2023
- Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 15, 2023
- Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 15, 2023
- Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 15, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception days. - Fixes LibraryNeverOpen error not being passed to monitoring. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 15, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception hours. - Fixes `_has_is_open` returning True for exception open hours. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 15, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception hours. - Fixes `_has_is_open` returning True for exception open hours. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 16, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception hours. - Changes `_has_is_open` to `has_open_day` function. It now returns only returns True for exception dates without specified non-standard hours. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 16, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception hours. - Changes `_has_is_open` to `has_open_day` function. It now returns only returns True for exception dates without specified non-standard hours. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 16, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 16, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 19, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 19, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 19, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
that referenced
this issue
Jun 19, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes #2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 19, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 20, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
to PascalRepond/rero-ils
that referenced
this issue
Jun 20, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes rero#2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
that referenced
this issue
Jun 20, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes #2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
PascalRepond
added a commit
that referenced
this issue
Jun 20, 2023
- Fixes infinite loop when checking out an item from library without open days but with open exception dates in the past. - Add an extended validation to libraries to disallow open exception dates without specifying times. - Fixes LibraryNeverOpen error not being passed to monitoring. - Fixes checkout not possible from library without opening hours. - Closes #2419. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch> Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
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
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Error if an item from a library without opening hours is checked out. This happens if the item is checked out from a library (transaction location)
Linked issue: #2318
To Reproduce
A) from a transaction location that has opening hours
B) from a transaction location without opening hours
Technical error:
item_dumps = item.dumps_for_circulation()
->LibraryNeverOpen
Expected behavior
The checkout is realised/allowed
Note for case B): if no opening day is found in the 360 following days, the due date is computed without considering the opening days.
Context
v1.4.11
The text was updated successfully, but these errors were encountered: