[Koha-bugs] [Bug 18461] Internal server error while approving OPAC-edited patron attributes containing umlauts (=?UTF-8?Q?=C3=A4=C3=B6=C3=BC?=)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 22 14:07:08 CEST 2017


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

--- Comment #4 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 62569
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62569&action=edit
Bug 18461: Internal server error while approving OPAC-edited patron attributes
containing umlauts (äöü)

If a OPAC user enters text containing umlauts (äöü) in a patron atribute and
saves it, the Staff client will get an inernal server error in
members-update.pl (approving).

E.g. a text like 111ä222 leads to the following in plack error log:

malformed UTF-8 character in JSON string, at character offset 14 (before
"\x{fffd}2","code":"T...") at (...)/Koha/Patron/Modifications.pm line 100.

To test:
- Reproduce problem above
- Apply patch
- Verify that Home > Patron > Update records displays without error
  and 'New value' displays properly

Followed test plan and it works as intended

Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>

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


More information about the Koha-bugs mailing list