Postorius generates KeyError for users with no membership

Bug #1150992 reported by Xueshan Feng
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Postorius
Fix Released
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

Tags: mailman3
Revision history for this message
Xueshan Feng (xueshan-feng) wrote :
Revision history for this message
Terri (terriko) wrote :

Looks like this got fixed sometime this week but not marked as finished. doing that now.

Changed in postorius:
status: New → Fix Committed
Changed in postorius:
milestone: none → 1.0.0a2
Changed in postorius:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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