http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10169

--- Comment #1 from Owen Leonard <oleon...@myacpl.org> ---
Created attachment 17874
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17874&action=edit
Bug 10169 [Incomplete] Software error if one of multiple titles selected for
hold in the OPAC has no items

This patch contains changes suggested by Jared on IRC. This eliminates
the ugly error but raises a new problem: The 'Place hold' screen is now
blank except for a warning: "ERROR: No biblio record found for
biblionumber 5638."

The warning is triggered by the variable "bad_biblionumber," set here
(opac-reserve.pl lines 362+):

    # Get relevant biblio data.
    my $biblioData = $biblioDataHash{$biblioNum};
    if (! $biblioData) {
        $template->param(message=>1, bad_biblionumber=>$biblioNum);
        &get_out($query, $cookie, $template->output);
    }

I assume this is proper error-handling in the case of placing a single
hold, but has never been revised to accommodate multiple holds? Not sure
where to go next with it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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