[Koha-bugs] [Bug 6854] New: import_borrowers.pl : Double password encryption on member update if there is no password in the csv and no default password value.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 7 20:40:25 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6854

             Bug #: 6854
           Summary: import_borrowers.pl : Double password encryption on
                    member update if there is no password in the csv and
                    no default password value.
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Tools
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org


Created attachment 5344
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5344
Correct a double password encryption problem in import_borrowers.pl

In import_borrowers.pl, if no default password is specified and there is no
password column in the imported CSV file, the borrowers that are modified get
their password encrypted a second time.

What happens :
If we try to modify an existing user, the password from the BD is fetched and
sent to ModMember, which then encrypts the already-encrypted password a second
time.

Patch attached to correct the problems.
Patch created on Koha version 3.2.3

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list