DirectBranchCommit requires preferred/contact email

Bug #644873 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

A recent change in DirectBranchCommit made it implicitly require a preferred email address for the committer—or a contact address in the case of a team. If the committer does not have one, an AttributeError results when attempting to commit. This is currently breaking the translations-to-branch export script (bug 643345).

The requirement ought to be documented, and either more recognizable exception raised so that calling classes can report the root problem, or a fallback added to cope with the absence of an email address.

Tags: lp-code
description: updated
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.