[Bug 16356] New: Error 500 when returning an item whose itemtype is not defined in ItemTypes
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16356 Bug ID: 16356 Summary: Error 500 when returning an item whose itemtype is not defined in ItemTypes Change sponsored?: --- Product: Koha Version: 3.22 Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: sophie.meynieux@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com When returning an item, Koha searches if it should show a specific message for this itemtype, using C4/ItemType->get() In 3.22, if item itemptype is not defined in itemtypes table, this will result in 500 Error -- 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=16356 --- Comment #1 from Sophie MEYNIEUX <sophie.meynieux@biblibre.com> --- Created attachment 50728 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50728&action=edit Bug 16356: Fix Error 500 when returning an item which itemtype is not in itemtypes table Test plan : * Find an item with itemtype (itype or bilbioitems.itemtype depending on syspref) does not exist in itemtypes table * If necessary, change itemtype of one of your item * Check out this item * Try to check it in, you've got a 500 Error and item is not returned With the patch * Try to check your item in. Item is correctly returned -- 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=16356 Sophie MEYNIEUX <sophie.meynieux@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Error 500 when returning an |Error 500 when returning an |item whose itemtype is not |item which itemtype is not |defined in ItemTypes |defined in ItemTypes Priority|P5 - low |P4 Patch complexity|--- |Small patch -- 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=16356 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com Assignee|koha-bugs@lists.koha-commun |sophie.meynieux@biblibre.co |ity.org |m Status|NEW |Needs Signoff -- 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=16356 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16356 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50728|0 |1 is obsolete| | --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 50731 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50731&action=edit [SIGNED-OFF] Bug 16356: Fix Error 500 when returning an item which itemtype is not in itemtypes table Test plan : * Find an item with itemtype (itype or bilbioitems.itemtype depending on syspref) does not exist in itemtypes table * If necessary, change itemtype of one of your item * Check out this item * Try to check it in, you've got a 500 Error and item is not returned With the patch * Try to check your item in. Item is correctly returned Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16356 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Summary|Error 500 when returning an |[3.22] Error 500 when |item which itemtype is not |returning an item which |defined in ItemTypes |itemtype is not defined in | |ItemTypes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16356 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16356 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50731|0 |1 is obsolete| | --- Comment #3 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 50892 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50892&action=edit Bug 16356: Fix Error 500 when returning an item which itemtype is not in itemtypes table Test plan : * Find an item with itemtype (itype or bilbioitems.itemtype depending on syspref) does not exist in itemtypes table * If necessary, change itemtype of one of your item * Check out this item * Try to check it in, you've got a 500 Error and item is not returned With the patch * Try to check your item in. Item is correctly returned Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16356 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Stable --- Comment #4 from Julian Maurice <julian.maurice@biblibre.com> --- Patch pushed to 3.22.x, will be in 3.22.7 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org