[Bug 19063] New: Can' t receive order if one of the on order items has no itemtype
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19063 Bug ID: 19063 Summary: Can't receive order if one of the on order items has no itemtype Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org When receiving an order where one or more items have no itemtype set, there is the usual "internal server error" from Plack. The Plack error log shows: item-level_itypes set but no itemtype set for item (3) at /home/vagrant/kohaclone/Koha/Schema/Result/Item.pm line 698. Can't call method "description" on an undefined value at /home/vagrant/kohaclone/acqui/orderreceive.pl line 150. To test: - Create a basket - Create an order (AceCreateItem set to 'on order') with multiple items - Make sure one or more of the items have no itemtype set - Close basket - Receive shipment - Try to receive one or more items from the order - Verify error shows For on order items it might make sense to allow an empty itemtype - libraries might want to decide about that when the items arrive. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19063 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- *** This bug has been marked as a duplicate of bug 19194 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org