[Koha-bugs] [Bug 15722] Patron search cannot deal with hidden characters ( tabs ) in fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 8 16:31:23 CET 2016


Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
  Attachment #48786|0                           |1
        is obsolete|                            |

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 48789
Bug 15722: Escape patron infos for JSON in patron searches

If patron infos contain invalid JSON chars (\t for instance), the
results won't appear.
The solution is to escape these info.

Test plan:
Edit patron infos in DB (update borrowers set surname="foobar\t" where
Search for foobar (you should have more than 1 result)
Without this patch, DT retrieves a bad formatted JSON and the results
won't appear.
With this patch, the table result appears

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

More information about the Koha-bugs mailing list