[koha-commits] main Koha release repository branch new/bug_6022 created. v3.06.00-132-g0352a8f
Git repo owner
gitmaster at git.koha-community.org
Tue Dec 6 19:51:41 CET 2011
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 <dpavlin at rot13.org>
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 <mglavica at ffzg.hr>
Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list