[Koha-bugs] [Bug 31447] "Please confirm checkout" message uses patron's home library not holds pick up library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 25 13:07:18 CET 2022


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

--- Comment #37 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
(In reply to Jonathan Druart from comment #34)
> (In reply to Emmi Takkinen from comment #33)
> > Created attachment 144241 [details] [review] [review]
> > Bug 31447: Fix test
> > 
> > Tests for this feature raised a new warning
> > "Odd number of elements in anonymous hash".
> > Setting $item->item_group as seperated variable
> > removes this warning.
> > 
> > To test prove t/db_dependent/Circulation.t.
> > 
> > Sponsored-by: Koha-Suomi Oy
> 
> Are you sure?
> Did you just try
> 
>   item_group_id => $item->item_group->item_group_id
> 
> ?

Just tried it, cannot call item_group_id of undefined value. So either it
should be undef or there should be mocked item group.

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


More information about the Koha-bugs mailing list