[Bug 18765] New: Bad cardnumber causes 'Borrower' search to fail
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18765 Bug ID: 18765 Summary: Bad cardnumber causes 'Borrower' search to fail Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: mtj@kohaaloha.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Created attachment 64122 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64122&action=edit pic to test bug.. 1/ add a leading TAB character to a borrower's cardnumber 2/ attempt to search for that user 3/ observe that no results are displayed (see pic) -- 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=18765 Lee Jamison <ldjamison@marywood.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ldjamison@marywood.edu --- Comment #1 from Lee Jamison <ldjamison@marywood.edu> --- Hi Mason, can you provide clarification for your step 1? I'm confused what you mean by a leading tab character because pressing the TAB key in the cardnumber field of memberentry.pl?op=modify simply changes the focus to the Library drop down field. Are you referring to the escaped '\t' character? -- 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=18765 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #2 from Mason James <mtj@kohaaloha.com> ---
...because pressing the TAB key in the cardnumber field of memberentry.pl?op=modify simply changes the focus to the Library drop down field.
I copy/pasted the problematic string from a text-editor into the field --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- We can do that: +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt @@ -14,7 +14,7 @@ "<input type='checkbox' class='selection' name='borrowernumber' value='[% data.borrowernumber %]' />", [% END %] "dt_cardnumber": - "[% data.cardnumber | html %]", + "[% To.json( data.cardnumber ) %]", But we should do it for all the data. -- 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=18765 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #4 from Owen Leonard <oleonard@myacpl.org> --- I'm not able to save a card number with a tab character, so I think this can be considered fixed. -- 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=18765 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- *** This bug has been marked as a duplicate of bug 22781 *** -- 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