OPAC: Barcode that starts with a letter cannot login to My Account
Bug #1581658 reported by
Jennifer Pringle
This bug affects 6 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Evergreen |
Confirmed
|
Medium
|
Unassigned | ||
Bug Description
Evergreen 2.8 and Evergreen 2.10.2
If you have a patron barcode that starts with a letter it cannot be used to login to My Account.
This is an issue for patrons with barcodes that are prefixed with letters. ie. MPL1234 (for Maple Public Library).
I think this is related some or all of the following:
https:/
https:/
https:/
| Changed in evergreen: | |
| status: | New → Confirmed |
| Changed in evergreen: | |
| importance: | Undecided → Medium |
| tags: | added: patron |
| tags: | added: opac-account |
| tags: | added: ux-form-validation |
To post a comment you must log in.

As a work-around, the opac.barcode_regex library setting could be used to identify cases where patron barcodes start with something other than a digit. E.g., if any string that starts with either a digit or with MPL is (likely) a barcode, you could use something like "^(\d|MPL)" as the regex.
This isn't perfect, however -- if there are other patrons not belonging to MPL who nonetheless have usernames starting with "MPL", they would not be able to log in using their username.