[Koha-bugs] [Bug 28320] SIP SC Status message should check the DB connection

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 11 15:49:51 CEST 2021


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 120843
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120843&action=edit
Bug 28320: Add DB connection check to the SIP SC status message

This patch adds a lookup of the sip user during an SC status, confirming that
our DB ocnnection is working, and that our user is still valid

Additionally, it adds support for SC status to the sip_cli_emulator and adds
basic
test coverage for the SC status message

To test:
1 - Apply patch
2 - Restart SP server
3 - perl misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -m
sc_status_request -su term1 -sp term1
4 - prove -v t/db_dependent/SIP/Message.t

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


More information about the Koha-bugs mailing list