Setting Patron Barcode Format org unit setting breaks selfcheck

Bug #1485052 reported by Chris Sharp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

When using the built-in selfcheck, if you set the Patron Barcode Format setting to something like "^[0-9]+$" (consider any string that is all numbers to be a barcode, not a username), selfcheck login stops functioning. After setting the value as described, I entered my barcode (which shows in the web console as having been recognized as such) and then after entering my password, the Enter key does not function and I am not allowed to log in. Removing the library setting allows login with the username only. Without that setting set, all entries are assumed to be usernames.

Evergreen 2.7.2 through Master
OpenSRF Master
PostgreSQL 9.3
Ubuntu 14.04

Tags: selfcheck
Revision history for this message
Jason Boyer (jboyer) wrote :

Open-ILS/web/js/ui/base.js is responsible for the initial login of the staff account that will be used for the selfcheck and in it the login is hard coded to use username only. The regex only applies to the patron username or barcode box after that initial staff login; the setting isn't consulted when logging in the staff account.

Revision history for this message
Chris Sharp (chrissharp123) wrote :

Sorry - I wasn't clear. By "login" I mean that I am unable to login as a patron after the selfcheck interface has been activated. Staff login is not affected by the issue.

Revision history for this message
Chris Sharp (chrissharp123) wrote :

I should add that we have the "Require Patron Password for Selfcheck" setting enabled as well.

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

Chris, we have been using "[0-9]{14}" as our patron barcode format without any trouble on the self check. We are not requiring passwords.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.