Skip to content

Commit

Permalink
Notifications Stored Procedures can't handle users with Null email ad…
Browse files Browse the repository at this point in the history
…dress dubeaud#144
  • Loading branch information
dubeaud committed Dec 16, 2015
1 parent 68f627d commit c3fa90d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ WHERE
AND u.UserId = p.UserId
AND u.UserId = m.UserId
AND u.UserName = up.UserName
AND m.Email IS NOT NULL

SELECT DISTINCT IssueId,NotificationUserId, NotificationUserName, NotificationDisplayName, NotificationEmail, NotificationCulture FROM @tmpTable ORDER BY NotificationDisplayName
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ FROM
LEFT OUTER JOIN BugNet_UserProfiles ON U.UserName = BugNet_UserProfiles.UserName
WHERE
P.ProjectId = @ProjectId
AND m.Email IS NOT NULL
ORDER BY
DisplayName

0 comments on commit c3fa90d

Please sign in to comment.