https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42769
--- Comment #1 from Kyle M Hall (khall) <[email protected]> --- Created attachment 202833 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202833&action=edit Bug 42769: Add Koha::SIP2::MessageTester Now that the SIP configuration lives in the staff interface, there is no easy way to check what a SIP account will actually return for the various custom template fields without opening a telnet session and knowing the SIP account password. This patch adds Koha::SIP2::MessageTester, which builds the same server context the SIP server builds at login time ( minus the authentication ) from a saved Koha::SIP2::Account, hands a constructed request to the real message handlers, and returns the generated response broken into its fixed portion and its variable length fields. It can build the request from a message type and a patron/item barcode, or run a raw request string built elsewhere. The whole thing runs inside a transaction that is always rolled back, so even checkout and checkin messages don't actually do anything. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
