Blank Date of Birth (DOB) displays as 1/1/1970

Bug #1583206 reported by John Yorio
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Won't Fix

Bug Description

I have seen this in 2.91 and 2.92


1. Self-registration is enabled, "Require dob field on patron registration" is not set, "show dob field on patron registration" is set to to true.

2. Patron registers, but does not complete DOB field.

What happens:

In the staff client, I can see the patron in Pending Patrons and Date of Birth is blank as expected, but when I double-click patron or click Load Patron, the Date of Birth shows "1/1/1970" on the edit form.

What I expected to happen:

The Date of Birth should be blank when I click Load Patron, if no value was entered during self-registration.

Tags: patron
Revision history for this message
Kathy Lussier (klussier) wrote :

I tried this on master and on 2.9.5, but I'm unable replicate it because I'm not able to get as far along in the steps as John did.

I configured my library settings as described, with show dob on patron registration set for true, but leaving the require dob field setting unset.

When I then go to the OPAC to try submit the registration form, leaving the dob field blank, I get a popup telling me I have entered an invalid date and asking me to enter the date of birth in the proper format.

This, IMO, is a bug on its own since it should be requiring a DOB, but it's different than the bug described here. Maybe there's some other setting I'm missing?

Setting to incomplete for now pending further feedback.

Changed in evergreen:
status: New → Incomplete
Elaine Hardy (ehardy)
tags: added: patron
Revision history for this message
Terran McCanna (tmccanna) wrote :

Unable to create this error in 3.2.3.

Changed in evergreen:
status: Incomplete → Won't Fix
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.