[Koha-bugs] [Bug 36335] ILS-DI GetRecords bad encoding for UNIMARC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Mar 16 23:22:30 CET 2024


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #2 from David Nind <david at davidnind.com> ---
I had a go at testing, but I'm not sure how to generate the bad encoding.

Any hints on how to create an encoding error?

I tried using the test plan I used in bug 34467 comment 8, but I didn't get an
encoding error (using KTD):

1. Edited .env and change KOHA_MARC_FLAVOUR=unimarc

2. Enabled the ILS-DI system preference.

3. Modified record 1234:
   - on leader position 9, enter a blank
   - on 200$a, add a è
   - Here is what is in the leader: 01552nam  2200829   4500
   - Had to add all the required subfields
   - Edited the item for the record so that the item has the correct entries
from item dropdown list options and the item type

4. Ran flush_memcached and restart_all and use a refreshed browser.

5. Used this URL:
http://127.0.0.1:8080/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=1234

6. Note that the 200$a does not have an è.

7. Applied the patch, run flush_memcached and restart_all

8. The ILS-DI response now includes an è in the 200$a

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


More information about the Koha-bugs mailing list