[Koha-bugs] [Bug 2757] New: bad OPAC login generation

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Wed Nov 5 11:57:28 CET 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2757

           Summary: bad OPAC login generation
           Product: Koha
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Patrons
        AssignedTo: nahuel.angelinetti at biblibre.com
        ReportedBy: nahuel.angelinetti at biblibre.com
         QAContact: koha-bugs at lists.koha.org


At the moment, when you have 2 patrons : "John Bopp" and "Jeffrey Bopp", JBopp
have the opac login "jbopp", and jeffrey no one, if you edit the jeffrey
patron, and save with no login set.
Koha tries to set up an opac login, with the first letter of his lastname, and
the 9 first letters of the surname, so with my examples it'll try to create the
login "jbopp" (for jeffrey) but it already exists, so it output an error that
the login already exists.

The login generation must be better like :

lastname.surnameX
where X is a number if the login "lastname.surname" already exists.

like there it should be :
john.bopp
jeffrey.bopp

If two john bopp are registered, so one will have the login "john.bopp", and
the other "john.bopp1".




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Koha-bugs mailing list