datatracker icon indicating copy to clipboard operation
datatracker copied to clipboard

Personal community list view crashes if email addresses are all inactive

Open jennifer-richards opened this issue 1 year ago • 0 comments

Describe the issue

If all email addresses for a logged-in user are deactivated (active=False), the ietf.community.views.view_list() view causes a 500 error if they view their own list.

This is because the view tries to look up the manage_list view with clist.person.email_address, which does not return an address in this case.

Code of Conduct

jennifer-richards avatar Feb 08 '24 21:02 jennifer-richards