[Koha-bugs] [Bug 25992] SIP2 server doesn't start - Undefined subroutine set_logger
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 15 13:57:29 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25992
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #106928|0 |1
is obsolete| |
--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 106929
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106929&action=edit
Bug 25992: Make SIP2 logger subroutines exportable to prevent crash
If the subroutines are not exportable we get the following crash:
> Undefined subroutine &C4::SIP::SIPServer::set_logger
To test:
In kohadevbox run for example:
$ ps -aux # check that no existing sip server is running, kill the process if
exists
$ perl /kohadevbox/koha/C4/SIP/SIPServer.pm
/etc/koha/sites/kohadev/SIPconfig.xml
$ koha/misc/sip_cli_emulator.pl -su koha -sp koha -l CPL -a 127.0.0.1 -p 6001
--item 3999900000001 -m item_information
After applying this patch the Undefined subroutine error should be gone.
Note: when using the sip_cli_emulator.pl the credentials can be anything.
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
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