[Koha-bugs] [Bug 30321] Order receive page dies if quantity received is more than 0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 14 14:18:59 CEST 2022


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

--- Comment #6 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
So I've been testing this and it occurs in version 21.11.03 and the conditions
are following:

- order has _only one item_ attached to it
- orders quantityreceived value is more than 0

For some reason when there's only one item on order template orderreceived.tt
handles it as Koha::Item, not Koha::Items as it should, thus "Koha::Item->count
is not covered by tests!". In orderreceived.pl order->items returns
Koha::Items.

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


More information about the Koha-bugs mailing list