Bug 38974 - Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value
Summary: Error when submitting patron update from the OPAC Can't call method "dateofbi...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low major
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-27 12:52 UTC by Owen Leonard
Modified: 2025-01-27 12:52 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2025-01-27 12:52:20 UTC
I'm seeing an error in main when submitting a patron update from the OPAC. It seems to happen only when the submission includes a date of birth value.

It happens when adding a new date of birth value (previously empty), when submitting a change to the date of birth value, or when submitting the form without changing the date of birth field. It doesn't seem to be connected to the dateofbirth system preference choice.

Can't call method "dateofbirthrequired" on an undefined value at /kohadevbox/koha/opac/opac-memberentry.pl line 539