[Koha-bugs] [Bug 33166] Can't call method "notforloan" on an undefined value when placing a hold

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 8 11:40:51 CET 2023


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

--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Julian, there are several places where we are not checking if the item type
exists, and we decided to not fix them all but assume the data are correct
instead.

The script misc/maintenance/search_for_data_inconsistencies.pl is catching such
inconsistencies.

> Ok, but MARC frameworks are modifiable...

Yes, but you have hundreds of ways to make Koha explodes when you modify them.

(In reply to Julian Maurice from comment #4)
> I think that as long as biblioitems.itemtype/items.itype is NULL-able, we
> cannot expect to always have a value there.

Yes, you are right. That's is something we should fix.

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