[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
Wed Jul 16 10:01:16 CEST 2014


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

--- Comment #1 from Petter Goksøyr Åsen <boutrosboutrosboutros at gmail.com> ---
Created attachment 29732
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29732&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.

-- 
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