Patron password use phone not working

Bug #1900184 reported by Steve Callender
80
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Unassigned
3.5
Fix Released
High
Unassigned

Bug Description

It looks like on 3.5 the seetting,

patron.password.use_phone

Is not working. When having that set to true, entering a patron phone number, there is an error in the console,

vendor.bundle.js:6 TypeError: Cannot read property 'old' of undefined
    at f.$scope.handle_field_changed (regctl.js:2049)
    at fn (eval at compile (vendor.bundle.js:6), <anonymous>:4:286)
    at r (vendor.bundle.js:6)
    at f.$eval (vendor.bundle.js:6)
    at f.$apply (vendor.bundle.js:6)
    at HTMLInputElement.<anonymous> (vendor.bundle.js:6)
    at HTMLInputElement.dispatch (jquery.min.js:2)
    at HTMLInputElement.v.handle (jquery.min.js:2)

This does not happen on 3.4 and below, so it looks like some change introduced in 3.5 may have caused this. Tested on multiple 3.5 systems.

Steve

Revision history for this message
April Durrence (april-durrence) wrote :

NC Cardinal just upgraded to version 3.5.1 and multiple libraries are reporting the same problem.

tags: added: orgunitsettings regression
Blake GH (bmagic)
tags: added: bitesize circulation
removed: orgunitsettings regression
tags: added: regression
Revision history for this message
Terran McCanna (tmccanna) wrote :

Bumping this to High - this is going to be a significant problem for PINES if it's not fixed before we upgrade in January

Changed in evergreen:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Cheryl Middleton (cheryl-middleton) wrote :

It is a significant issue for members of NCCardinal with upgrade to 3.5.1 over the weekend. I've had to send out urgent retraining docs to all staff in our system because this bug changes
how we've operated in Evergreen since 2011.

Changed in evergreen:
milestone: none → 3.6.1
Revision history for this message
Dan Briem (dbriem) wrote :

Here's a branch for testing: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbriem/lp_1900184_patron_pwd_use_phone

An early return statement in extract_hold_notify() (circ/patron/regctl.js) is preventing props from being set on $scope that are required for future comparisons. The return statement was removed in the fix to bug 1570072 and added back in the fix to bug 1774268.

tags: added: pullrequest
Revision history for this message
Garry Collum (gcollum) wrote :
tags: added: signedoff
Jason Boyer (jboyer)
Changed in evergreen:
assignee: nobody → Jason Boyer (jboyer)
Revision history for this message
Jason Boyer (jboyer) wrote :

I should have looked a little harder at the fix for 1570072. Pushed to rel_3_5, rel_3_6, and master, thanks Dan and Garry!

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Jason Boyer (jboyer) → nobody
Changed in evergreen:
status: Fix Committed → Fix Released
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.