Bug#803540: idGenerator fails on "{%sn[1-4]}{%givenName[12]}" if givenName is shorter than 12 chars
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Sat Oct 31 06:55:08 UTC 2015
Package: gosa
Severity: normal
Version: 2.7.4+reloaded2-5
User: debian-edu at lists.debian.org
Usertags: debian-edu
X-Debbugs-Cc: debian-edu at 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 at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.alioth.debian.org/pipermail/debian-edu-pkg-team/attachments/20151031/640734f1/attachment.sig>
More information about the Debian-edu-pkg-team
mailing list