[Koha-bugs] [Bug 12581] /svc/bib endpoint has encoding issues when updating a record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 8 05:05:52 CEST 2014


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29732|0                           |1
        is obsolete|                            |

--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 30612
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30612&action=edit
Bug 12581 - Fix encoding issues in /svc/bib endpoint

Updating a record by sending a POST request with the MARCXML data Koha's
/svc/bib endpoint can result in mangled characters in the saved record.
By contrast, the /svc/new_bib endpoint, for creating a new record,
correctly fixes theese encoding issues.

This patch replicates the fix from svc/new_bib to svc/bib.

Test plan
* Update a record by sending MARCXML to the /svc/bib endpoint.
  The record should contain non-latin characters, for example æ,ø, å.
* Observe that the returned response, and the record in the database
  has mangled characters.
* Apply the patch
* Repeat the first step
* Observe that the record now is free from encoding errors.

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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


More information about the Koha-bugs mailing list