[Koha-bugs] [Bug 22862] Normalize SMS messaging numbers before validating them

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 8 12:47:27 CEST 2019


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 89458
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89458&action=edit
Bug 22862 - Normalize SMS messaging numbers before validating them

Librarians often copy and paste patron data, including phone numbers. SMS phone
numbers are now being validated to conform to the E.164 specification. It would
be nice to try to normalize that data by stripping non-numeric data from the
paste (i.e. dashes, parens, etc ).

Test Plan:
1) Apply this patch
2) On the staff side, Attempt to enter invalid characters the SMS number field
3) Note you cannot enter invalid characters
4) Attempt to paste a phone number with invalid characters
5) Note those characters are removed on paste
6) Repeat these steps on the OPAC

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


More information about the Koha-bugs mailing list