[Koha-bugs] [Bug 24441] Error when checking in an item with BranchTansferLimitsType set to itemtype

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 16 20:11:59 CET 2020


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 97469
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97469&action=edit
Bug 24441: Error when checking in an item with BranchTansferLimitsType set to
itemtype

It appears that the transition to using Koha::Item in AddReturn has introduced
a bug. Previously $item was a hashref with the key 'itemtype', now that it's an
object, it has no itemtype method and so triggers an error with the message
"The method Koha::Item->itemtype is not covered by tests!".

Test Plan:
1) Enable Branch Transfer Limits via itemtype
2) Check in an item
3) Note the error
4) Apply this patch
5) Restart all the things!
6) Check in an item
7) No error!

-- 
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