Summary: | MARCXML output of OAI-PMH may be badly encoded (UNIMARC) | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Web services | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | RESOLVED DUPLICATE | QA Contact: | Katrin Fischer <katrin.fischer> |
Severity: | normal | ||
Priority: | P5 - low | CC: | stephane.delaye |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34514 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33994 |
||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 32336 | ||
Bug Blocks: | |||
Attachments: |
Bug 34515: Fix encoding of MARCXML output for REST API (UNIMARC)
Bug 34515: Fix encoding of MARCXML output for OAI-PMH (UNIMARC) Bug 34515: Fix encoding of MARCXML output for OAI-PMH (UNIMARC) |
Description
Fridolin Somers
2023-08-10 19:30:40 UTC
Created attachment 154353 [details] [review] Bug 34515: Fix encoding of MARCXML output for REST API (UNIMARC) Like fixed for REST API, OAI-PMH output should be fixed to use metadata schema when building MARCXML. Test plan : 1) Use UNIMARC database 2) Enable OAI-PMH webservice 3) Edit a biblio record to add uppercase éin title 200$a 4) Go to OAI record : /cgi-bin/koha/oai.pl?verb=GetRecord&metadataPrefix=marcxml&identifier=xxx => Check encoding of title is OK Created attachment 154354 [details] [review] Bug 34515: Fix encoding of MARCXML output for OAI-PMH (UNIMARC) Like fixed for REST API, OAI-PMH output should be fixed to use metadata schema when building MARCXML. Test plan : 1) Use UNIMARC database 2) Enable OAI-PMH webservice 3) Edit a biblio record to add uppercase éin title 200$a 4) Go to OAI record : /cgi-bin/koha/oai.pl?verb=GetRecord&metadataPrefix=marcxml&identifier=xxx => Check encoding of title is OK Created attachment 154553 [details] [review] Bug 34515: Fix encoding of MARCXML output for OAI-PMH (UNIMARC) Like fixed for REST API, OAI-PMH output should be fixed to use metadata schema when building MARCXML. Test plan : 1) Use UNIMARC database 2) Enable OAI-PMH webservice 3) Edit a biblio record to add uppercase éin title 200$a 4) Go to OAI record : /cgi-bin/koha/oai.pl?verb=GetRecord&metadataPrefix=marcxml&identifier=xxx => Check encoding of title is OK Signed-off-by: Delaye <stephane.delaye@biblibre.com> I don't see any encoding errors on a UNIMARC sandbox without the patch applied: http://opac-encoding.sandboxes.ptfs-europe.co.uk/cgi-bin/koha/oai.pl?verb=GetRecord&metadataPrefix=marcxml&identifier=KOHA-OAI-TEST:1449 If the error is still there, can you explain a bit more on how to make it replicable/visible? |