[Koha-bugs] [Bug 9811] Patrons search improvements

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 13 12:15:27 CET 2014


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

--- Comment #91 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 26261
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26261&action=edit
Bug 9811: Fixing JSON validation error for non-javascript string literal
characters

Issue:
When a patron has backslashes in his circulation notes, the JSON transportation
layer cannot send the message because it will fail JSON validation when trying
to
validate backslashed non-literal characters (\s \d ...).
This causes the whole search to fail when even one Borrower has a non-literal
backslashed character in his notes.

Solution:
The Borrowers' circulation notes are filtered through a regexp which doubles
all
backslashes to prepare them for the JSON validation routine.

Result:
Backslashes pass through unchanged.

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


More information about the Koha-bugs mailing list