[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#803540: idGenerator fails on "{%sn[1-4]}{%givenName[12]}" if givenName is shorter than 12 chars



Package: gosa
Severity: normal
Version: 2.7.4+reloaded2-5
User: debian-edu@lists.debian.org
Usertags: debian-edu
X-Debbugs-Cc: debian-edu@lists.debian.org

Hi all,

I have just discovered another issue with the idGenerator code in GOsa² (which might be a regression introduced by recent changes).

If the idGenerator is {%sn[1-4]}{%givenName[12]}, I'd expect this for a given fullname "Test User":

  tuser
  teuser
  tesuser
  testuser

But I get:

  t{%givenName[12]}
  te{%givenName[12]}
  tes{%givenName[12]}
  test{%givenName[12]}

I will take a look into this soon...

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de

Attachment: pgpwCU5GrprEP.pgp
Description: Digitale PGP-Signatur


Reply to: