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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 11 13:53:47 CET 2013


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #9 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Just some preliminary QA comments while signing off (for the QAer on duty):

Cardnumber already in use or not in a good format: I would personally like to
differentiate between the two messages. Is it in use? Or is just the length
incorrect?

The min and maxlength logic in memberentry.pl should be in a module?

Isn't there a way to check field length earlier with javascript than waiting
for Save? 

I am not a fan of my $qr = qr|^\d{$length}$|; and just pasting the pref inside
the regex.
You just assume that it is of the form m,n but you do not really know.
Why not just pull them out of the pref with a regex like (\d+),(\d+) or
similar?

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


More information about the Koha-bugs mailing list