[Bug 27912] New: Quotes break guarantor search.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27912 Bug ID: 27912 Summary: Quotes break guarantor search. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: cbrannon@cdalibrary.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com If a patron has quotes in the borrowernotes field, you will not be able to search for them with the guarantor search. The search just keeps searching and never ends. If there are going to be characters that break functions, there should be some validation in place to prevent these characters from being saved. Otherwise, we need to make it so the characters don't break the function. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27912 Christopher Brannon <cbrannon@cdalibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P1 - high Severity|enhancement |major -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27912 Joonas Kylmälä <joonas.kylmala@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joonas.kylmala@iki.fi Severity|major |critical --- Comment #1 from Joonas Kylmälä <joonas.kylmala@iki.fi> --- I'd even say this is critical as anyone could use self-registration via OPAC and this issue happens also with firstname field so they could make the feature stop working any time they wish. The same bug seems to be also on the file ./prog/en/modules/acqui/tables/members_results.tt in addition to ./prog/en/modules/members/tables/guarantor_search.tt -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27912 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- I reproduce. Ajax call returns a JSON with an HTML href containing a JSON HTML-encoded. value=\"[% To.json(data) | html %]\" This double-quotes generates : \"test\" Maybe as a quick fix remove borrowernotes from those Ajax tables. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27912 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Quotes break guarantor |Quotes break guarantor |search. |search See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=26865 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I feel like we have fixed this in other places and just removing borrowernotes will leave us with the same issue in other input fields like firstname that we cannot remove. This one might give a clue: Bug 22715 - Searching for patrons with "" in the circulation note hangs patron search And then there is also: Bug 26865 - Double quotes in patron's data breaks patron searches (no patch yet) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27912 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27912 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Will be fixed by bug 30055. *** This bug has been marked as a duplicate of bug 30055 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org