Distribution mirror can't be reassigned to teams without contact addresses
Bug #196258 reported by
Guilherme Salgado
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Unassigned |
Bug Description
The +review page of distribution mirrors attempt to access its owner's preferredemail directly, so it'll crash (OOPS-788EB109) for teams without a preferred email.
TraversalError (None, 'email')
Changed in launchpad: | |
importance: | Undecided → Low |
status: | New → Confirmed |
description: | updated |
affects: | launchpad-foundations → launchpad-registry |
tags: | added: mirror |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
To post a comment you must log in.
The email address is not requires in this case, the template assumes it exists. Wrap the content in a guard like other templates do.
<tal:email tal:condition" context/ owner/preferred email">
...
</tal:email>