Title Review links crash after changing username
Priority bug Status unread
Superseder Nosy List heikki.partanen
Assigned To Topics

Created on 2012-11-05.19:11:25 by heikki.partanen, last changed 2012-11-05.19:11:25 by heikki.partanen.

File name Uploaded Type Edit Remove
username_change_crashes_rietfeld.patch heikki.partanen, 2012-11-05.19:11:24 text/plain
msg2628 (view) Author: heikki.partanen Date: 2012-11-05.19:11:24
Crash in roundup_helper/

1. Open an issue review ( link in one browser, session gets created
2. Log into your account with another browser, edit your account, change username into something else
3. Open again the issue review link in the old browser that has the session with old username

As the old session has the wrong username, it crashes on this line as no user is found with the old username:
roundup_user = User.objects.filter(_username=username)[0]
Date User Action Args
2012-11-05 19:11:25heikki.partanencreate