[Koha-bugs] [Bug 13178] cardnumber field length is too short

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 23 21:38:43 CEST 2017


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |veron at veron.ch

--- Comment #8 from Marc Véron <veron at veron.ch> ---
(In reply to Baptiste from comment #7)
> Created attachment 64487 [details] [review]
> Bug 13178: increase max value of CardnumberLength
> 
> testplan
> 1 - Apply patch
> 2 - Run updatedatabase.pl
> 3 - set the value of CardnumberLength to a value between 16 and 20
> 4 - Check you can enter a propper cardnumber
> (modify to 32 instead 20)

I tested by setting CardnumberLength to 20,32
for min 20 and max 32

However in cgi-bin/koha/members/memberentry.pl I get:
"Card number must be between 16 and 32 characters."
...and I can enter an card number inside this range, e.g. a length of 18.

Expected: Correct validation (card number length between 20 and 32).

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


More information about the Koha-bugs mailing list