Koha/koha-tmpl/intranet-tmpl/prog/en/modules/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 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
addbiblio.tt Bug 7890: Highlight required field in MARC editor 2019-06-13 12:27:17 +01:00
addbooks.tt Bug 22886: Missing space between fields from Keyword to MARC mapping in cataloguing search 2019-05-15 12:10:53 +00:00
additem.tt Bug 23117: Shortcut additem.pl on nonexistent biblionumber 2019-06-15 08:01:37 +01:00
editor.tt Bug 21411: (follow-up) Clean up for QA 2019-05-10 18:59:39 +00:00
linkitem.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
merge.tt Bug 21942: Clean up cataloging merge template 2019-04-19 14:22:17 +00:00
moveitem.tt Bug 15496: (follow-up) Update interaction for deleting records 2019-04-26 12:07:04 +00:00
z3950_auth_search.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
z3950_search.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00