Date of Birth sometimes off by a month in patron edit form
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
3.0 |
Fix Released
|
High
|
Unassigned |
Bug Description
We're seeing very strange behavior in the patron edit form with the date of birth not always loading correctly. I've tested this on our production servers as well as on demo.evergreenc
It does not appear to make a difference what the settings for date format are (we have mm/dd/yyyy on our production, and the demo server has yy/mm/dd) and it does not seem to be a difference between Chrome and Firefox. The day and year do not appear to be affected by this bug.
Example account on the community demo server:
https:/
Login: admin / demo123
My test results with this account:
Changed dob to 71-01-05 --- ok
Changed dob to 71-02-05 --- form reloaded as 71-03-05
Changed dob to 71-03-05 --- ok
Changed dob to 71-04-05 --- form reloaded as 71-05-05
Changed dob to 71-05-05 --- ok
Changed dob to 71-06-05 --- form reloaded as 71-07-05
Changed dob to 71-07-05 --- ok
Changed dob to 71-08-05 --- ok
Changed dob to 71-09-05 --- form reloaded as 71-10-05
Changed dob to 71-10-05 --- ok
Changed dob to 71-11-05 --- form reloaded as 71-12-05
Changed dob to 71-12-05 --- ok
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
status: | New → Confirmed |
status: | Confirmed → In Progress |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
When loading the patron editor, I see a lot of date related console output. Here's what I see for that example patron, after saving the DOB as 71-02-05:
changing field dob to undefined (regctl.js:1715:9) circ.open_ non_cataloged_ circulation. user.authoritat ive (net.js:96:9) actor.usergroup .members. balance_ owed (net.js:96:9) actor.user. has_work_ perm_at. batch (net.js:96:9)
changing field expire_date to undefined (regctl.js:1715:9)
changing field dob to undefined (regctl.js:1715:9)
changing field expire_date to undefined (regctl.js:1715:9)
changing field dob to undefined (regctl.js:1715:9)
changing field expire_date to undefined (regctl.js:1715:9)
egNet open-ils.
egNet open-ils.
changing field dob to undefined (regctl.js:1715:9)
changing field expire_date to undefined (regctl.js:1715:9)
changing field dob to undefined (regctl.js:1715:9)
changing field expire_date to undefined (regctl.js:1715:9)
changing field dob to undefined (regctl.js:1715:9)
changing field expire_date to undefined (regctl.js:1715:9)
changing field dob to undefined (regctl.js:1715:9)
changing field expire_date to undefined (regctl.js:1715:9)
changing field dob to undefined (regctl.js:1715:9)
changing field expire_date to undefined (regctl.js:1715:9)
egNet open-ils.
changing field dob to Fri Mar 05 1971 10:40:59 GMT-0500 (Eastern Standard Time) (regctl.js:1715:9)
changing field expire_date to Tue Apr 18 2017 13:30:03 GMT-0400 (Eastern Daylight Time) (regctl.js:1715:9)
changing field dob to Fri Mar 05 1971 10:40:59 GMT-0500 (Eastern Standard Time) (regctl.js:1715:9)
changing field expire_date to Tue Apr 18 2017 13:30:03 GMT-0400 (Eastern Daylight Time) (regctl.js:1715:9)
changing field dob to Fri Mar 05 1971 10:40:59 GMT-0500 (Eastern Standard Time) (regctl.js:1715:9)
changing field expire_date to Tue Apr 18 2017 13:30:03 GMT-0400 (Eastern Daylight Time) (regctl.js:1715:9)
changing field dob to Fri Mar 05 1971 10:40:59 GMT-0500 (Eastern Standard Time) (regctl.js:1715:9)
changing field expire_date to Tue Apr 18 2017 13:30:03 GMT-0400 (Eastern Daylight Time)