Example DOB field can break for self-registration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The same library setting for "Example dob field on patron registration" is displayed by both the staff client's patron registration form and the OPAC self-registration form, but the OPAC self-registration form has different DOB requirements.
To recreate problem:
1. Enable the OUS for "Allow patron self-registration"
2. Enable the OUS for "Show DOB field on patron registration"
3. Set the OUS for "Format date with this pattern" to MM/dd/yyyy (note that there is an OUS change between 3.1 and 3.2)
4. Set the OUS for "Example DOB field on patron registration" to MM/DD/YYYY
5. In the staff client, test registering a new patron - the date example and the accepted format should match.
6. In the OPAC, test the "Request Library Card" form - the date example shows MM/DD/YYY, but if you submit it in that format, you get the message "You have entered an invalid date, or an improperly formatted date. Please enter Date of Birth in YYYY-MM-DD or YYYY/MM/DD format and try again."
Ideally, the self-registration form should use the same date format required by the staff client. Alternatively, it should have a different OUS for the "Example dob field" for display on the self-registration form.
Related bugs:
https:/
and
https:/
Browser: Chrome and Firefox for OPAC Self Registration
Chrome for staff Web Client
Evergreen Release 3.2.8 and 3.4.2
I can confirm the date of birth date format problem as described by Terran when set to MM-DD-YYYY. In our case the format contains hyphens.