Summary: | Items with empty itemtype causes Preservation module to crash | ||
---|---|---|---|
Product: | Koha | Reporter: | Pedro Amorim <pedro.amorim> |
Component: | Circulation | Assignee: | Bugs List <koha-bugs> |
Status: | Needs Signoff --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | gmcharlt, jonathan.druart, kyle, pedro.amorim |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | Bookings | |
Attachments: | Bug 40555: Consider possibility of item not having itemtype on effective_bookable |
Description
Pedro Amorim
2025-07-30 14:26:41 UTC
The error log message is the following: GET /api/v1/preservation/waiting-list/items: unhandled exception (Mojo::Exception)<<Can't call method "bookable" on an undefined value at /usr/share/koha/lib/Koha/Item.pm line 1929.>> Produced when accessing: <staff_url>/cgi-bin/koha/preservation/waiting-list With one or more (?) items without an itemtype (or itype, depending on preference?) More analysis required. Created attachment 184897 [details] [review] Bug 40555: Consider possibility of item not having itemtype on effective_bookable |