[Koha-bugs] [Bug 23376] Cleanup order receive page code

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 17 14:13:20 CET 2022


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

Emmi Takkinen <emmi.takkinen at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emmi.takkinen at koha-suomi.fi

--- Comment #25 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
We ran into a problem with our orders receive page and would like to know if
anyone has run into same kind of issue. It seems if order.quantityreceived is
more than 0 page orderreceive.pl/template orderreceive.tt dies on line 323
which reads [% IF ( order.items.count ) %]. In logs we have: 

"Template process failed: undef error - The method Koha::Item->count is not
covered by tests!"

Changing order.items.count to items.count doesn't produce error but isn't
really helpful since now there's no value on input "Quantity received", just 0
(this could also be a separate problem).

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


More information about the Koha-bugs mailing list