[Koha-bugs] [Bug 14625] New: LDAP: mapped ExtendedPatronAttributes cause error when updated on authentication

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 31 11:03:27 CEST 2015


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 at gmail.com
          Reporter: oliver.bock at aei.mpg.de
        QA Contact: testopia at bugs.koha-community.org
                CC: dpavlin at 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.


More information about the Koha-bugs mailing list