[Koha-bugs] [Bug 23376] Cleanup order receive page code
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 18 15:33:23 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23376
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #29 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Emmi Takkinen from comment #28)
> Created attachment 131857 [details] [review]
> Bug 23376: Fix template error on order receive page
>
> Order receive page dies on error 500 if orders quantityreceived
> is more than 0. The error logs reads: "Template process failed: undef
> error - The method Koha::Item->count is not covered by tests!"
> In template orderreceive.tt we have "order.items.count" not
> "orders.items.count" as it should be. Note! It seems that this error
> doesn't occur if template param edit is set as 1.
>
> To test:
> 1. Find order with quantityreceived value more than 0.
> 2. Try to receive this order.
> => Error 500 page is displayed.
> 3. Apply patch
> 4. Repeat steps 1 and 2.
> => Order receive page is displayed normally.
>
> Sponsored-by: Koha-Suomi Oy
Please move this to a new bug, dependent on this one
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list