Bug 25761: Implementation of too_many_overdue has unintended consequences
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 15 Jun 2020 16:26:14 +0000 (12:26 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Nov 2020 12:45:07 +0000 (13:45 +0100)
commitf6323ee5351a6801321c0938690344f04aef6c54
tree40f2bfe74fc5c5819e5ee63084c03e87a2c523c4
parent8b21682c332b63afd3be74073e5eeaf531dadeac
Bug 25761: Implementation of too_many_overdue has unintended consequences

Bug 24449 implemented the too_many_overdue SIP flag ( position 6 of the
patron status flags ). This has had unintended consequences as
many library use SIP2 for validation to eresource vendors ( Overdrive,
Hoopla, etc ), but do not want overdue checkouts to block the
use of these resources.

Test Plan:
1) Apply this patch
2) Restart all the things!
3) Find a patron with overdue items
4) Run a SIP2 patron information request
5) Note the "too many overdue" flag is set
6) Set the new SIP config option "disable_too_many_overdue" for the
account you used for testing
7) Restart the SIP server
8) Run the same patron information request
9) Notice the "too many overdue" flag is no longer set!

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml