[Bug 14625] New: LDAP: mapped ExtendedPatronAttributes cause error when updated on authentication
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14625 Bug ID: 14625 Summary: LDAP: mapped ExtendedPatronAttributes cause error when updated on authentication Change sponsored?: --- Product: Koha Version: 3.20 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Authentication Assignee: gmcharlt@gmail.com Reporter: oliver.bock@aei.mpg.de QA Contact: testopia@bugs.koha-community.org CC: dpavlin@rot13.org When extended patron attributes are mapped for replication and update via LDAP the attributes (here: "LOCATION") are properly replicated now (as of bug #8919) but on update the following error gets thrown:
opac-user.pl: DBD::mysql::st execute failed: Unknown column 'LOCATION' in 'field list' at /usr/share/koha/lib/C4/Auth_with_ldap.pm line 354, <DATA> line 558.
The reason is that update_local() in Auth_with_ldap.pm doesn't care about those extended attributes at all. It's harmless because checkpw_ldap() seems to cover the update, not only the initial replication. But it's still confusing since a given admin is fooled by a false alarm. Thanks. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14625 --- Comment #1 from oliver.bock@aei.mpg.de --- Thinking about this: this is NOT a harmless error since the whole update fails in this case. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14625 --- Comment #2 from oliver.bock@aei.mpg.de --- Created attachment 45222 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45222&action=edit Proposed patch Attached a patch. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14625 oliver.bock@aei.mpg.de changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal --- Comment #3 from oliver.bock@aei.mpg.de --- Raising severity to "normal" (for us it's actually "major") because of the above reason. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14625 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|3.20 |master CC| |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org