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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/