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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 9 17:41:16 CEST 2014


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

--- Comment #110 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 28740
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28740&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