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

--- Comment #10 from Dobrica Pavlinusic <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to