[Koha-bugs] [Bug 29219] Suppress warning when building holds queue where hold fulfillment policy is 'patrongroup'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 13 14:24:32 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29219

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 126180
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126180&action=edit
Bug 29219: Suppress warning when building holds queue where hold fulfillment
policy is 'patrongroup'

When building the holds queue with rules where the hold fulfillment policy is
'patrongroup', you may see the following warning:

Use of uninitialized value in string eq at /usr/share/koha/lib/C4/HoldsQueue.pm
line 728.

because there is not such thing as a 'patrongroup' key for the item hash.

Test Plan:
1) Set hold rules to use patrongroup
2) Build the holds queue
3) Note the warning
4) Apply this patch
5) Build the holds queue again
6) No warning!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list