[Koha-bugs] [Bug 9865] Make SIP2 message encoding configurable via SIPconfig.xml

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 12:29:03 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9865

--- Comment #1 from Adrien SAURAT <adrien.saurat at biblibre.com> ---
Created attachment 16503
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16503&action=edit
proposed patch #1

MAIN TEST PLAN
1) Apply patch
2) Start SIP server
3) Connect to your SIP server via telnet
3) Do a checkout/checkin on an item containing special characters in the title
(see example below)
4) Without any encoding specified, you should see bad characters, like in
"L'h�pital de A � Z"
5) Stop SIP server and configure SIPconfig.xml -> add encoding="ut8" in the
login tag you're using for your tests.
6) Start SIP Server
7) Connect and do the same checkin/checkout. The accents should display
correctly.

== Additionnal informations ==
HOW TO PREPARE AN ITEM AND PATRON FOR THE TEST
1) Choose a biblio containing accents or change the title of an existing
biblio, using for example this title : "L'hôpital de A à Z"
2) Note the barcode of an item attached to this biblio. In the following
example I'll use the barcode "XX999XX"
3) Note a patron cardnumber (a valid account which can checkout). In the
following example I'll use the cardnumber "PATRON01".

CONNECTION TO THE SIP SERVER
Mode 1: use "telnet localhost 8023", type your login/password (as defined in
SIPconfig.xml)
Mode 2 (RAW): use "telnet localhost 6001", then type the following request :
"9300CNlogin|COpassword|CP" (with the login and password defined in
SIPconfig.xml). You should receive a "941" message if you are connected.

SIP REQUESTS FOR CHECKOUT/CHECKIN
Checkout:
11YN20130320    10225920130230    102259AO|AAPATRON01|ABXXX999XX|AC|
You should receive a response beginning with 121 (120 if the checkout failed,
but the important thing is that you'll see the title and will be able to notice
how the accents are displayed)
Checkin:
09N20130320    10225920130130    102259AP|AO|ABXXX999XX|AC|
You should receive a response beginning with 101 (100 if the checkin failed).

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


More information about the Koha-bugs mailing list