[Koha-bugs] [Bug 17215] Cardnumbers of patrons created using LDAP Replication not using autoMemberNum if configured

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 29 14:45:43 CEST 2016


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

--- Comment #1 from Lee Jamison <ldjamison at marywood.edu> ---
Created attachment 54973
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54973&action=edit
Assigns numerical cardnumber if autoMemberNum is enabled

This patch modifies Auth_with_ldap.pm to use the autoMemberNum System
Preference if it's enabled.

To test:
1. Set the autoMemberNum System Preference to "Don't".
2. Login to the OPAC with an LDAP account that does not currently exist as a
patron record.
3. Check the patron record's cardnumber.
4. the cardnumber should equal the patron's LDAP username.
5. Delete the patron record.
6. Apply the patch.
7. Set the autoMemberNum System Preference to "Do".
8. Login to the OPAC with an LDAP account that does not currently exist as a
patron record.
9. Check the patron record's cardnumber.
10. The cardnumber should now be the next highest cardnumber based on
autoMemberNum.

-- 
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