[Koha-bugs] [Bug 16578] Wide character warning in opac-export.pl when utf8 chosen

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 24 19:34:20 CEST 2016


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 51743
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51743&action=edit
Bug 16578: Fix wide character errors in opac-export.pl

This simple patch fixes wide character warning raised by opac-export.pl when
'MARC (Unicode/UTF-8)' and 'MARC (Unicode/UTF-8, Standard)' formats are chosen
for downloading records.

To test:
- Have records indexed
- Open your OPAC logs:
  $ tail -f /var/log/koha/kohadev/opac-error.log
- Open the detail page in the opac for a record
- Choose Save record > MARC (Unicode/UTF-8)
=> FAIL: opac-export.pl: Wide character in print at
/home/vagrant/kohaclone/opac/opac-export.pl line 116., referer:
http://localh...
- Choose Save record > MARC (Unicode/UTF-8, Standard)
=> FAILE opac-export.pl: Wide character in print...
- Apply the patch
- Choose Save record > MARC (Unicode/UTF-8)
=> SUCCESS: No warnings raised.
- Choose Save record > MARC (Unicode/UTF-8, Standard)
=> SUCCESS: No warnings raised.
- Sign off :-D

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


More information about the Koha-bugs mailing list