[Bug 1150957] [NEW] Postorius generates KeyError for users with no membership
Xueshan Feng
1150957 at bugs.launchpad.net
Thu Mar 7 02:57:50 CET 2013
Public bug reported:
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
** Affects: mailman
Importance: Undecided
Status: New
** Patch added: "generic.py.patch"
https://bugs.launchpad.net/bugs/1150957/+attachment/3561360/+files/generic.py.patch
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1150957
Title:
Postorius generates KeyError for users with no membership
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1150957/+subscriptions
More information about the Mailman-coders
mailing list