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
        QA Contact:

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/ line 698.
Can't call method "description" on an undefined value at
/home/vagrant/kohaclone/acqui/ 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
website :
git :
bugs :

Reply via email to