https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28779

--- Comment #1 from Joonas Kylmälä <[email protected]> ---
Created attachment 123280
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123280&action=edit
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 are greeted with a reserve page
    for no particular biblio (same behavior if you inputted a non-
    integer value)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to