[Koha-bugs] [Bug 19484] Checkout page does not like itemtype NULL
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 18 16:04:43 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19484
--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 68250
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68250&action=edit
Bug 19484: Add test before using object itemtype
Resolves this crash:
item-level_itypes set but no itemtype set for item (451) at
/usr/share/koha/masterclone/Koha/Schema/Result/Item.pm line 698.
Can't call method "translated_description" on an undefined value at
/usr/share/koha/masterclone/svc/checkouts line 168.
Test plan:
[1] Create/update an item so that it has itemtype NULL.
[2] Check it out on Circulation page.
Before this patch the loading would never stop.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list