[Bug 8116] New: z3950 empty search causes silent warning in koha-error_log
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8116 Priority: P5 - low Change sponsored?: --- Bug ID: 8116 Assignee: gmcharlt@gmail.com Summary: z3950 empty search causes silent warning in koha-error_log Severity: normal Classification: Unclassified OS: All Reporter: kolpen@o2.pl Hardware: All Status: NEW Version: rel_3_8 Component: Cataloging Product: Koha Created attachment 9633 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9633&action=edit proposed patch When searching z3950 with empty parameter list a silent warning occurs in koha-error_log: z3950_search.pl: Use of uninitialized value in subroutine entry at /usr/lib/perl5/ZOOM.pm line 491 The reason is unassigned value in variable $query in line 118 of z3950_search.pl module. The bug occurs also in earlier Koha version (3.6) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8116 --- Comment #1 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 9800 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9800&action=edit Bug 8116 : Fixing warn in error log Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8116 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff CC| |chris@bigballofwax.co.nz -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8116 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8116 Ian Walls <koha.sekjal@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |koha.sekjal@gmail.com --- Comment #2 from Ian Walls <koha.sekjal@gmail.com> --- Adds a default value of empty string to $query; marking Passed QA. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8116 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |paul.poulain@biblibre.com --- Comment #3 from Paul Poulain <paul.poulain@biblibre.com> --- Patch pushed, welcome to our 183th contributor ! ( Piotr, it's you ;-) ) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8116 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable --- Comment #4 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.8.x, will be in 3.8.2 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org