Koha/cataloguing
Jonathan Druart 62ae7ac727
Bug 23117: Shortcut additem.pl on nonexistent biblionumber
To prevent additem.pl to crash when called with a nonexistent
biblionumber we are here implementing the blocking_error.inc trick to
display a friendly message instead.

Can't call method "fields" on an undefined value at
/home/vagrant/kohaclone/cataloguing/additem.pl line 736.

Test plan:
hit
/cataloguing/additem.pl?biblionumber=
/cataloguing/additem.pl?biblionumber=424242
You will get a friendly "Bibliographic record not found." message,
instead of a 500

Signed-off-by: Bin Wen <bin.wen@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-06-15 08:01:37 +01:00
..
value_builder Bug 22127: Update date accessioned plugin - remove unused routine 2019-03-29 11:28:39 +00:00
addbiblio.pl Bug 16232: Fix edit as new in Rancor 2019-04-25 10:02:34 +00:00
addbooks.pl Bug 14385: Extend OpacHiddenItems to allow specifying exempt borrower categories 2018-11-02 10:33:09 +00:00
additem.pl Bug 23117: Shortcut additem.pl on nonexistent biblionumber 2019-06-15 08:01:37 +01:00
editor.pl Bug 21411: Advanced cataloging editor - rancor - Allow configuration of Keyboard 2019-05-10 18:59:39 +00:00
linkitem.pl Bug 20829: Handle non-existent barcode when linking to host item 2018-06-08 09:48:11 -04:00
merge.pl Bug 18593: Move suggestions when bibliographic records are merged 2018-03-26 17:01:10 -03:00
merge_ajax.pl
moveitem.pl Bug 15496: Delete Bib After Moving Item 2019-04-26 11:53:53 +00:00
plugin_launcher.pl
ysearch.pl
z3950_auth_search.pl Bug 22532: Remove Z39.50 random 2019-04-18 10:48:10 +00:00
z3950_search.pl Bug 19996: use Modern::Perl in cataloguing perl scripts 2018-02-05 09:45:47 -03:00