[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 13 02:13:31 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

--- Comment #4 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 96235
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96235&action=edit
Bug 23223: Disable syspref cache in SIPServer

When a syspref is modified, SIPServer doesn't update it's cached value until
restarted. This patch disables syspref cache for SIPServer.

To test:
1. set AllowItemsOnHoldCheckoutSIP preference to Don't allow
2. configure and start sipserver
3. with misc/sip_cli_emulator.pl try to checkout an item that has a hold
CHECK => checkout is not allowed
4. set AllowItemsOnHoldCheckoutSIP preference to Allow
5. repeat step 3
CHECK => checkout is still not allowed
6. apply this patch and restart_all
7. repeat steps 1 to 5
SUCCESS => checkout is allowed / disallowed according to
AllowItemsOnHoldCheckoutSIP preference value and no SIPServer restart is needed
8. Sign off

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list