buildbot / sandbox

ticket migration sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MailNotifier use the user-db by default, but that doesn't properly get populated.

bb-bot opened this issue · comments

This ticket is a migrated Trac ticket 2207

People contributed to the original ticket: @djmitche (commenter), tom.prince@... (commenter, reporter), @djmitche (commenter)


By default, [[MailNotifier]] looks up users in the database, based on the uid stored with the relevant changes. It then tries to get the email associated to that id.
However, the various change sources don't populate the email attribute of users they create, so most users won't have an associated email record (even if their identifier is an email address).

This can be worked around by passing lookup="" which avoids using the database.