Page MenuHomePhabricator

Special:GlobalRenameRequest is notifying all users with a shared name of a completed request
Closed, ResolvedPublic

Description

When a user's request for rename through Special:GlobalRenameRequest is completed, all users with the name are being emailed of its completion. This is a problem because all the contacted users think they are being renamed when they are not.

$oldUser->sendMail( $subject, $body );

seems to be the trouble.

Event Timeline

Keegan raised the priority of this task from to High.
Keegan updated the task description. (Show Details)
Keegan added a project: SUL-Finalization.
Keegan added subscribers: Keegan, DerHexer, Legoktm and 2 others.
hoo raised the priority of this task from High to Unbreak Now!.Mar 20 2015, 10:28 PM
hoo set Security to None.

The problem appears to be that we rename the proper user but when we send the email we use the email address of the user that was locally attached on the wiki where the rename was processed.

Change 198441 had a related patch set uploaded (by BryanDavis):
Ensure that emails are sent to correct email address

https://gerrit.wikimedia.org/r/198441

Keegan renamed this task from Special:GlobalRenameRequest is notifying all users with a shared name of a complete request to Special:GlobalRenameRequest is notifying all users with a shared name of a completed request.Mar 21 2015, 4:54 AM

Change 198441 merged by jenkins-bot:
Ensure that emails are sent to correct email address

https://gerrit.wikimedia.org/r/198441

Still needs to be deployed... guess that's going to happen today.

Change 199044 had a related patch set uploaded (by Legoktm):
Ensure that emails are sent to correct email address

https://gerrit.wikimedia.org/r/199044

Change 199046 had a related patch set uploaded (by Legoktm):
Ensure that emails are sent to correct email address

https://gerrit.wikimedia.org/r/199046

Change 199044 merged by Legoktm:
Ensure that emails are sent to correct email address

https://gerrit.wikimedia.org/r/199044

Change 199046 merged by Legoktm:
Ensure that emails are sent to correct email address

https://gerrit.wikimedia.org/r/199046

Deployed and confirmed with the help of @DerHexer