https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35901
Bug ID: 35901
Summary: Tell library on About page when item-level_itypes is
set but there are items with no itemtype in the
database
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: About
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
If item-level_itypes is set to 'specific item', using or accessing an item with
no itype causes Koha to throw a 500 error.
There will be a more helpful warning in the logs, i.e. "[2024/01/25 08:59:52]
[WARN] item-level_itypes set but no itemtype set for item (41984) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 999."
But this isn't very helpful for the library.
It would be great to have a check that gets the value of the item-level_itypes
system preference, if set to 'specific item', gets a list of any items with no
itype, and displays this in the System Information tab in the About module, as
a warning. Then the library can run a batch modification and give the items
itypes, or change the system preference.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/