[Koha-bugs] [Bug 10861] Add a check on cardnumber length

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 20 20:21:09 CET 2013


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23565|0                           |1
        is obsolete|                            |

--- Comment #25 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 23734
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23734&action=edit
Bug 10861: Followup Add a check on cardnumber length

This patch refactors the previous code and moves the logic from the pl
to a new routine.

Same test plan as previous patch.

/!\ new unit test filename.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Bug 10861: Reintroduced the cardnumber length check (client side)

Previous patches has removed the pattern attribute of the input, it was
not needed. This patch reintroduces it. It will only work for new
browser version.

Moreover, it manages with the ',XX' format (see UT).

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Squashed the last two follow-ups. The pattern test did not work fully for me
in Firefox 26 (very recent). But I see the message when I clear the field.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list