Bug 54391 - Self Service: Cannot send a token to a user with umlauts
Self Service: Cannot send a token to a user with umlauts
Status: CLOSED DUPLICATE of bug 54466
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-2
Assigned To: Florian Best
Johannes Lohmer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-01-27 17:15 CET by Dirk Wiesenthal
Modified: 2022-07-13 16:26 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2022-01-27 17:15:42 CET
The user gets:
Fehler beim Versenden des Tokens: u'\xe4'

The log gets:
27.01.22 17:10:12.248  MODULE      ( ERROR   ) : Unknown error: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/passwordreset/__init__.py", line 976, in _call_send_msg_plugin
    plugin.send()
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/passwordreset/sending/verify_email.py", line 95, in send
    username=urllib.quote(self.data["username"]),
  File "/usr/lib/python2.7/urllib.py", line 1301, in quote
    return ''.join(map(quoter, s))
KeyError: u'\xf6'


The user is created in UDM, though.
Comment 1 Florian Best univentionstaff 2022-02-21 11:48:14 CET
This will automatically be fixed by Bug #54466.
Comment 2 Florian Best univentionstaff 2022-07-01 16:19:58 CEST
(In reply to Florian Best from comment #1)
> This will automatically be fixed by Bug #54466.

@Johannes, can you verify this.
The username of the user which uses the password forgot functionality has to contain an umlaut like รค to reproduce this.

*** This bug has been marked as a duplicate of bug 54466 ***
Comment 3 Johannes Lohmer univentionstaff 2022-07-13 16:22:59 CEST
Verified:

In 5.0-2, users with umlauts can use the password reset.
Comment 4 Florian Best univentionstaff 2022-07-13 16:26:14 CEST
UCS 5.0-2 has been released.

https://docs.software-univention.de/release-notes-5.0-2-en.html

If this error occurs again, please clone this bug.