Koha/reserve
Joonas Kylmälä 9f1a5069ed Bug 28779: Skip processing of non-existent biblios
Just checking with a regex that whether an input looks like a biblionumber
is not enough, we need to also verify there is a biblio really existing
in the database and skip processing of hold request for non-existent
biblionumbers.

To test:
 1) Go to page /cgi-bin/koha/reserve/request.pl?biblionumbers=XXXXX
    where XXXXX is non-existent biblionumber, notice internal server error
 2) Apply patch
 3) Repeat step 1 and notice we cannot place a hold

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2021-08-13 08:00:41 -04:00
..
modrequest.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
modrequest_suspendall.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
placerequest.pl Bug 28338: Default to holding branch to save clicks 2021-06-18 09:41:34 -04:00
request.pl Bug 28779: Skip processing of non-existent biblios 2021-08-13 08:00:41 -04:00