Avoid uninit warning for prox_cache in open-ils.circ.hold.is_possible

Bug #1624491 reported by Dan Scott on 2016-09-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Undecided
Unassigned
2.10
Undecided
Unassigned
2.11
Undecided
Unassigned

Bug Description

* Evergreen 2.10.6

Problem: logs show the following warning:

open-ils.circ: [WARN:32706:Application.pm:590:123456789] open-ils.circ.title_hold.is_possible: Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.18.2/OpenILS/Application/Circ/Holds.pm line 2616.

This is because values in the prox_cache hash are used in the logging message before they have been initialized. Let's log messages _after_ they are sure to have been initialized.

Mike Rylander (mrylander) wrote :

I've picked this into 2.10-master. Thanks, Dan!

no longer affects: evergreen/master
Changed in evergreen:
milestone: 2.11.1 → 2.next
Changed in evergreen:
milestone: 2.next → 2.12-beta
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers