[Koha-bugs] [Bug 17933] Internal software error when searching patron without birth date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 30 16:17:24 CET 2017


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

--- Comment #10 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Most of our invalid birth dates in DB are result of external bulk script to
open accounts at beginning of each academic year since source data sometimes
doesn't have birth dates, so this is our local problem, and not Koha related.

However, it doesn't explain all entries, since some of them are created after
bulk script, using Koha's replication from LDAP. We have following mapping in
koha-conf.xml:

<dateofbirth is="hredupersondateofbirth" ></dateofbirth>

and if LDAP entry doesn't have hredupersondateofbirth we are also getting
0000-00-00 for dateofbirth in Koha mosty because of


 $data = $mapping{$key}->{content} || '';    # default or failsafe ''

from ldap_entry_2_hash in C4/Auth_with_ldap.pm.

Sould I fix ldap_entry_2_hash as separate bug?

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


More information about the Koha-bugs mailing list