[Koha-bugs] [Bug 28699] Noisy warns in checkauth when patron has no firstname

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 9 15:28:38 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28699

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 122745
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122745&action=edit
Bug 28699: Allow for blank firstname in checkauth

When mapping the fields from the session we should map blank fieds
to blank strings

To test:
1 - Remove first name from a patron
2 - tail -f /var/log/koha/kohadev/plack-opac-error.log
3 - Login as that patron on the opac
4 - Note warns in the log like:
    [2021/07/09 13:22:54] [WARN] Use of uninitialized value in sprintf at
/kohadevbox/koha/C4/Auth.pm line 888.
5 - Apply patch
6 - restart_all
7 - Log out and in to opac with user
8 - Note warns above are gone

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list