This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_6022 has been created
at 0352a8f24ac72b7dfbf84ea3c6f11e2e714708b0 (commit)
- Log -----------------------------------------------------------------
commit 0352a8f24ac72b7dfbf84ea3c6f11e2e714708b0
Author: Dobrica Pavlinusic <[email protected]>
Date: Thu Mar 31 15:14:46 2011 +0200
Bug 6022: Auth_with_ldap check if categorycode is valid
When importing users from LDAP, Auth_with_ldap.pm doesn't check if value for
categorycode is present in categories table in Koha resulting in referential
integrity error instead of using default value from koha-conf.xml
Test scenario:
1. enable LDAP in koha-conf.xml using <useldapserver>1</useldapserver>
and add <ldapserver> configuration with
<categorycode is="SomeLDAPField">DefaultCategoryCode</categorycode>
2. select/create LDAP user with category in SomeLDAPField which isn't in
Koha
3. try logging in and ensure that assigned category to new user is
DefaultCategoryCode
Signed-off-by: Marijana Glavica <[email protected]>
Signed-off-by: Paul Poulain <[email protected]>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
_______________________________________________
koha-commits mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits