[Koha-bugs] [Bug 32379] CRASH: Can't call method "itemlost" on an undefined value
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 2 11:51:23 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32379
--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 158240
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158240&action=edit
Bug 32379: Add check on existing item
Simplest fix; bail out with output_error.
Test plan:
Try
/cgi-bin/koha/cataloguing/additem.pl?biblionumber=1&op=saveitem&itemnumber=999999
Note: Replace 1 by existing biblionumber, and iitem 999999 should not exist.
You should get the 404 screen now.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
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