[Koha-bugs] [Bug 31746] New: Patron record saves when cardnumber required and value entered is whitespace
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 12 19:41:28 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31746
Bug ID: 31746
Summary: Patron record saves when cardnumber required and value
entered is whitespace
Change sponsored?: ---
Product: Koha
Version: 21.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: jyorio at equinoxinitiative.org
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
This happens both with the full patron entry form and the quick add form.
When the cardnumber is required, it's possible to enter either spaces or
non-printing characters into the cardnumber field and save the record. That is,
there's nothing but whitespace. The value of cardnumber saved in the database
in this case is NULL.
It would be helpful if Koha verified that the cardnumber field contained
something other than whitespace and prevented it from saving if it did not,
when the cardnumber is required.
I'm not sure if this relates to bug 30978 in any way, but I'm referencing it
here just in case.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list