Postorius generates KeyError for users with no membership

Bug #1150957 reported by Xueshan Feng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

To generate the error:

1. Login as mailman administrator user
2. Create a new user
3. Click on the new user's link

It generates the following:

KeyError at /postorius/users/57994364199706139241984329326393799915/
'entries'
Request Method: GET
Request URL: http://mailman3-dev.stanford.edu/postorius/users/57994364199706139241984329326393799915/
Django Version: 1.5
Exception Type: KeyError
Exception Value:
'entries'
Exception Location: /opt/postorius/src/postorius/views/generic.py in _get_memberships, line 109
Python Executable: /opt/mailman3_venv/bin/python
Python Version: 2.7.3

....

Xueshan

Revision history for this message
Xueshan Feng (xueshan-feng) wrote :
Revision history for this message
Xueshan Feng (xueshan-feng) wrote :

I re-created the bug report under bugs.lauchpad.net/postorius ( WebUI). Please close this one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.