Avoid SurveyTool sending to bogus email addresses

Description

Rick reported that ST tried to email to an email address "0". It's not clear where that came from. We could make this function more robust by returning null unless u.email contains @:

That is, insert:

Also in its caller we could skip sb.append unless getEmailForUser returns non-null:

That is, make it:

 

xpath

None

locale

None

Priority

TBD

Assignee

Unassigned

Reporter

Thomas Bishop

tracReporter

None

Reviewer

None

Labels

None

Components

Fix versions

phase

None
Configure