Uninitialized variable $short_word_length in WWW/AutoSuggest.pm

Bug #1023651 reported by Dan Scott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
2.2
Fix Released
Undecided
Unassigned

Bug Description

* Evergreen master

I'm getting the following log entry in my Apache error log:

Use of uninitialized value $short_word_length in concatenation (.) or string at /usr/local/share/perl5/OpenILS/WWW/AutoSuggest.pm line 117.

I would set a default value if none is supplied, but don't know enough about AutoSuggest to know if 0 or 3 or 5 are appropriate default values. So... help?

Tags: pullrequest
Revision history for this message
Lebbeous Fogle-Weekley (lebbeous) wrote :

So the warning comes in a line that's building a cache key out of raw input values instead of processed ones that are reliably not undefined.

Dan, does this kill the noise for you?

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/senator/squelch-autosuggest-warning

Thanks!

Changed in evergreen:
status: New → Confirmed
milestone: none → 2.3.0-alpha2
tags: added: pullrequest
Revision history for this message
Dan Scott (denials) wrote :

The noise is dead! Thanks Lebbeous - pushed to master and rel_2_2.

Changed in evergreen:
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.