https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42664 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blawlor@clamsnet.org --- Comment #13 from Brendan Lawlor <blawlor@clamsnet.org> --- Test notes: 1) Configure the SIP server with several worker processes (e.g. set min_servers and max_servers to 5) and confirm an existing SIP2 account works To edit min_servers and max_servers: vim /etc/koha/SIPconfig.xml To confirm existing SIP2 account works use the default: /kohadevbox/koha/misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -su term1 -sp term1 -m hold --patron 23529000035676 --item 39999000001310 --hold-mode + For good measure you can confirm patron 23529000035676 has a hold for Gairm. 2) Add a new SIP2 account in the staff interface In Administration > Self-service circulation (SIP2) First setup an Institution with a branchcode. I used CPL. Then set up a patron with user id, password and permissions. I used userid: bob, password: 1234, and superlibrarian permissions. Note: without adding permissions the login will always fail. 3) Without restarting the SIP server, test the new account with misc/sip_cli_emulator.pl Example command: /kohadevbox/koha/misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -su bob -sp 1234 -m hold --patron 23529000035676 --item 39999000001310 --hold-mode + 4) Note the login fails 5) Apply this patch 6) Restart all the things! 7) Add another new SIP2 account Remember to add permissions or the login will still fail on this step :) This time I used userid: rita, password: 1234, and superlibrarian permissions 8) Without restarting the SIP server test this new account with sip_cli_emulator.pl /kohadevbox/koha/misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -su rita -sp 1234 -m hold --patron 23529000035676 --item 39999000001310 --hold-mode + For good measure you can confirm patron 23529000035676 has a hold for Gairm. 9) Note that the new account works! 10) prove t/db_dependent/SIP/SIPServer.t This works as described. First time I have used the new SIP account ui. Very cool! -- You are receiving this mail because: You are watching all bug changes.