[Bug 40499] New: Birthdate on Patron Self Modification Form Causes an Error When Form is Submitted
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40499 Bug ID: 40499 Summary: Birthdate on Patron Self Modification Form Causes an Error When Form is Submitted Change sponsored?: --- Product: Koha Version: 24.11 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: cslone@camdencountylibrary.org QA Contact: testopia@bugs.koha-community.org This seems to have been introduced with the .05 or .06 point upgrade. Patrons with a birthdate in their record are not able to successfully submit a request to modify their personal details of dateofbirth is a field that's allowed on the Personal Details page. See the following message on every failed form submission in the plack-error.log: 'Can't call method "dateofbirthrequired" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-memberentry.pl line 539.' To recreate: 1. Set OPACPatronDetails to Allow 2. Make sure dateofbirth is not included in PatronSelfModificationBorrowerUnwantedField or in PatronSelfModificationMandatoryField 3. Log in as a patron with no birthdate in their record, change a detail on the Personal Details page, submit, get a confirmation message. 4. Log in as a patron with a birthdate set, change a detail on the Personal Details page, submit, receive a 500 error. 5. If the birthdate is removed (either via the staff client or by just clearing it on the patron form) the request is able to go through successfully Workaround: Set dateofbirth in PatronSelfModificationBorrowerUnwantedField so that it is no longer an option on the Personal Details page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40499 --- Comment #1 from Chris Slone <cslone@camdencountylibrary.org> --- And of note: this does not seem to be an issue when the server is upgraded to 25.05. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40499 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED CC| |lucas@bywatersolutions.com --- Comment #2 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- *** This bug has been marked as a duplicate of bug 38974 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org