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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 19 15:25:01 CEST 2014


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

--- Comment #125 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 29021
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29021&action=edit
[PASSED QA] 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.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>

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


More information about the Koha-bugs mailing list