[Bug 21452] New: Items available for hold or loan must have an item type
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21452 Bug ID: 21452 Summary: Items available for hold or loan must have an item type Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: barton@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Because items may be created during cataloging or acquisitions before we know the item type, it's not practical to set a database constraint where items.itype is not NULL. However, if an item without an item type is checked out or a hold is placed on the item, either items.itype or biblioitems.itemtype (if we're using biblio level items) *must* be populated, or we'll trigger an internal server error. We should be checking for this when we set the notforloan status. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21452 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- If the problem is acq items, maybe setting the itemtype not-mandatory for the ACQ framework but mandatory for every other would work? There is a lot more things that influence if an item can be checked out, not only the not-for-loan status. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21452 --- Comment #2 from Barton Chittenden <barton@bywatersolutions.com> --- (In reply to Katrin Fischer from comment #1)
If the problem is acq items, maybe setting the itemtype not-mandatory for the ACQ framework but mandatory for every other would work? There is a lot more things that influence if an item can be checked out, not only the not-for-loan status.
I'm not sure that will work: 1) If item-level_itypes is set to 'biblio record', items.itype may not be set at all, so we really need to test that one or the other is set. 2) Even if an item is in acquisitions, the library may want to the not-for-loan status to a negative number, making it available to be placed on hold... at that point, the item type needs to be set. That may well happen while the item is still in acquisitions. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21452 --- Comment #3 from Barton Chittenden <barton@bywatersolutions.com> --- Also, frameworks are editable, and I'd rather not have this be something that a user can disable. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21452 Andreas Jonsson <andreas.jonsson@kreablo.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.jonsson@kreablo.se -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21452 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- We are now enforcing the itemtype to be mandatory. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org