[Koha-bugs] [Bug 9924] Simplify and rename patron card creator error message include

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 8 09:40:29 CEST 2013


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

--- Comment #10 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 20874
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20874&action=edit
Bug 9924: (follow-up) ensure that correct error message is displayed

(Apparently) unlike HTML::Template::Pro, Template Toolkit doesn't like
template variables that are entirely numeric -- in conditionals, it
consider them integers, most of which are Perl true.

This patch changes this by setting the error variable to the error
value.

To test:

[1] Run the test plan from the previous patch.  In each
    case, verify that the error message is specifically applicable
    to the test.  For example, if you try uplaoading a patron image
    that is larger than 500KB, the error message displayed should
    specifically say so.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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


More information about the Koha-bugs mailing list