ILS-DI GetRecords generates bad encoding of MARCXML for UNIMARC, like OAI in Bug 34467
Created attachment 163251 [details] [review] Bug 36335: Fix ILS-DI GetRecords bad encoding for UNIMARC ILS-DI GetRecords generates bad encoding of MARCXML for UNIMARC, like OAI in Bug 34467 Enable ILS-DI and display a record with : <opac url>/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=<biblionumber>
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
Created attachment 163767 [details] [review] Bug 36335: Fix ILS-DI GetRecords bad encoding for UNIMARC ILS-DI GetRecords generates bad encoding of MARCXML for UNIMARC, like OAI in Bug 34467 Enable ILS-DI and display a record with : <opac url>/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=<biblionumber> Well-known issue, fixed Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Created attachment 166536 [details] [review] Bug 36335: Fix ILS-DI GetRecords bad encoding for UNIMARC ILS-DI GetRecords generates bad encoding of MARCXML for UNIMARC, like OAI in Bug 34467 Enable ILS-DI and display a record with : <opac url>/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=<biblionumber> Well-known issue, fixed Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Pushed for 24.05! Well done everyone, thank you!
Pushed to 23.11.x for 23.11.06
Backported to 23.05.x for upcoming 23.05.12