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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 25 17:17:44 CEST 2014


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26261|0                           |1
        is obsolete|                            |

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