Bugzilla – Attachment 1958 Details for
Bug 4256
C4/Auth_with_ldap.pm replication broken and corrupts data when used without update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
LDAP entries without any ExtendedPatronAttributes break replication
koha-no-ExtendedPatronAttributes-from-LDAP.diff (text/plain), 569 bytes, created by
Chris Cormack
on 2010-03-01 22:04:00 UTC
(
hide
)
Description:
LDAP entries without any ExtendedPatronAttributes break replication
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-03-01 22:04:00 UTC
Size:
569 bytes
patch
obsolete
>--- C4/Auth_with_ldap.pm 2010-02-20 21:41:34.000000000 +0100 >+++ /usr/share/koha/lib/C4/Auth_with_ldap.pm 2010-02-20 22:47:57.000000000 +0100 >@@ -160,6 +160,7 @@ > my @types = C4::Members::AttributeTypes::GetAttributeTypes(); > my @attributes = grep{my $key=$_; any{$_ eq $key}@types;} keys %borrower; > my $extended_patron_attributes = map{{code=>$_,value=>$borrower{$_}}}@attributes; >+ my $extended_patron_attributes = [] unless $extended_patron_attributes; > my @errors; > #Check before add > for (my $i; $i< scalar(@$extended_patron_attributes)-1;$i++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4256
:
1956
|
1957
| 1958