[Koha-bugs] [Bug 18076] Error when placing a hold and holds per record is set to 999

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 8 16:47:03 CET 2017


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
>From http://www.template-toolkit.org/docs/manual/Directives.html#section_WHILE

"""
The Template Toolkit uses a failsafe counter to prevent runaway WHILE loops
which would otherwise never terminate. If the loop exceeds 1000 iterations then
an undef exception will be thrown, reporting the error:

WHILE loop terminated (> 1000 iterations)

The $Template::Directive::WHILE_MAX variable controls this behaviour and can be
set to a higher value if necessary. 
"""

I do not think we want to increase this value, and I do not think we want to
display a dropdown list with 1000 entries.
I'd suggest to replace it with an input box (type=number).

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


More information about the Koha-bugs mailing list