[Koha-bugs] [Bug 30321] New: 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
Mon Mar 21 07:48:38 CET 2022


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

            Bug ID: 30321
           Summary: Order receive page dies if quantity received is more
                    than 0
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: emmi.takkinen at koha-suomi.fi
        QA Contact: testopia at bugs.koha-community.org

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!" This happens because in template
orderreceive.tt we have "order.items.count" not "orders.items.count" as it
should be. It seems that this error doesn't occur if template param edit is set
as 1.

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


More information about the Koha-bugs mailing list