[Koha-bugs] [Bug 4045] No check for maximum number of allowed holds from OPAC.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 27 22:05:16 CEST 2014


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

--- Comment #62 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Testing:

> Test Plan:
> 1) Apply this patch
> 2) Run updatedatabase
> 3) Set maxreserves to 3, set opactheme to bootstrap
> 4) Log into the opac as a patron
> 5) Place 3 holds
> 6) Attempt to place a 4th hold
> 7) Note you get an error message and cannot place a forth hold
> 8) Delete two of those holds
> 9) Attempt to place 3 or more holds as a multi-hold
> 10) You should see a warning that you cannot place this many holds
All Ok up to this point

> 11) Try to anyway
> 12) You should see an alert to tell you to reduce the number of holds
>     you are placing.
Here I don't see an alert, but "ERROR: Internal error: incomplete hold
request."

On logs:
opac-reserve.pl: Use of uninitialized value $biblionumbers in split at
/home/bgkriegel/kohaclone/opac/opac-reserve.pl line 110

No holds placed

> 13) Reduce the number for holds you are placing to 2
> 14) Your holds should now be placed
Final two Ok

Is that error message the expected result?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list