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

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
Curtis Hovey (sinzui)
affects: launchpad-foundations → launchpad-registry
Jonathan Davies (jpds)
tags: added: mirror
Revision history for this message
Curtis Hovey (sinzui) wrote :

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/preferredemail">

tags: added: trivial
Changed in launchpad-registry:
milestone: none → 10.09
importance: Low → High
Revision history for this message
Curtis Hovey (sinzui) wrote :

I fixed this during the 3.0 redesign.

Changed in launchpad-registry:
milestone: 10.09 → none
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
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.