Merge lp:~sinzui/launchpad/merge-mailing-list-bug-471770 into lp:launchpad
Proposed by
Curtis Hovey
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~sinzui/launchpad/merge-mailing-list-bug-471770 |
Merge into: | lp:launchpad |
Diff against target: |
272 lines (+109/-32) 5 files modified
lib/canonical/launchpad/emailtemplates/person-merged.txt (+15/-0) lib/lp/registry/doc/person-merge.txt (+26/-2) lib/lp/registry/model/person.py (+14/-15) lib/lp/registry/tests/test_personset.py (+52/-11) lib/lp/testing/menu.py (+2/-4) |
To merge this branch: | bzr merge lp:~sinzui/launchpad/merge-mailing-list-bug-471770 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+14806@code.launchpad.net |
To post a comment you must log in.
This is my branch to remove mailing list subscriptions from merged accounts.
lp:~sinzui/launchpad/merge-mailing-list-bug-471770 /bugs.launchpad .net/bugs/ 471770 *test_pesonset" implementation: bac, salgado
Diff size: 247
Launchpad bug: https:/
Test command: ./bin/test -vvt "registry.
Pre-
Target release: 3.1.11
= Remove mailing list subscriptions from merged accounts =
OOPS-1402EB708 shows an oops that occurs when ~lhavelund tries to edit his y(terms) . lhavelund is
email addresses. This failure is SimpleVocabular
subscribed to a mailing list under a NEW address. The email address came
from a merged account. Merge sets the email addresses to NEW so that they
can be reconfirmed--but that is not possible in this case because the user
cannot request a validation email from +editemail.
== Rules ==
* Update PersonSet. _mergeMailingLi stSubscriptions () to delete the
admin- assisted or the user did it himself.
subscriptions
* Send an email to the user explaining that he should confirm the
merged email addresses and update his mailing list subscriptions
* This ensure that users are notified regardless of if the merge was
* This is a step towards making all merges happen offline to avoid
time outs.
== QA ==
* On staging, merge an account that has a mailing list.
* Verify that there is a notification email in the staging inbox.
* Verify that you can access your +editemails
* Update your mailing list subscriptions.
== Lint ==
Linting changed files: /launchpad/ emailtemplates/ person- merged. txt registry/ doc/person- merge.txt registry/ model/person. py registry/ tests/test_ personset. py
lib/canonical
lib/lp/
lib/lp/
lib/lp/
== Test ==
* lib/lp/ registry/ doc/person- merge.txt registry/ tests/test_ personset. py nalLayer
* Added a test to verify the user is sent an email after the merge.
* lib/lp/
* Moved the tests to the DatabaseFunctio
* Removed the duplicate ProductSet lines
* Added a test to verify that that mailing list subscriptions are
deleted.
== Implementation ==
* lib/canonical/ launchpad/ emailtemplates/ person- merged. txt registry/ model/person. py
* Added an email to inform the user to review his email settings.
* lib/lp/
* Removed the mailing list transfer SQL. The delete SQL was there to
clean up duplicate subscriptions, but now deletes them all
* Add a PersonNotification to the merged user so that he knows to
review his email settings.