Deleting a user doesn't clear their pending verified emails

Bug #1828135 reported by Robert Lyon on 2019-05-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Unassigned
18.04
Medium
Unassigned
18.10
Medium
Unassigned
19.04
Medium
Unassigned
19.10
Medium
Unassigned

Bug Description

To test:

1) Create a user
2) Log in as user and go to their profile page and add another email address (save form)
3) Log in as admin and delete the user
4) Create another user
5) Log in as new user and try to add the same email address to them

Says it is already taken

Steven (stevens-q) wrote :

Commit hash: dc64aa252612aae6d53f6d579815954f3fd38108
Environment tested: Master
Browser tested: Chrome
Theme used: N/A

PRECONDITIONS:
------------------------
1) Mahara User1 exists with the following email addresses
     a) Primary email = <email address hidden>
     b) Other email addresses = <email address hidden>, <email address hidden>

TEST STEPS:
------------------------
1) Log in as Site admin user
2) Delete Mahara User1
3) Create another user using one of the other emails addresses (<email address hidden>)
4) Verify that there is no error message ("This email address has already been registered here.") ✔
5) Create another user using one of the other emails addresses (<email address hidden>)
6) Verify that there is no error message ("This email address has already been registered here.") ✔

Catalyst QA Approved ✔

Changed in mahara:
status: New → In Progress
importance: Undecided → Medium
milestone: none → 19.10.0

Reviewed: https://reviews.mahara.org/9976
Committed: https://git.mahara.org/mahara/mahara/commit/dc64aa252612aae6d53f6d579815954f3fd38108
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit dc64aa252612aae6d53f6d579815954f3fd38108
Author: Robert Lyon <email address hidden>
Date: Wed May 8 12:57:25 2019 +1200

Bug 1828135: Remove the pending emails when deleting user

behatnotneeded

Change-Id: I04e7787c9d17418d2a5e80df3035255cb51b6d51
Signed-off-by: Robert Lyon <email address hidden>

Mahara Bot (dev-mahara) wrote :

Patch for "18.10_STABLE" branch: https://reviews.mahara.org/9996

Mahara Bot (dev-mahara) wrote :

Patch for "18.04_STABLE" branch: https://reviews.mahara.org/9997

Reviewed: https://reviews.mahara.org/9995
Committed: https://git.mahara.org/mahara/mahara/commit/671a8be385856784d0e242847f2a074938524482
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 19.04_STABLE

commit 671a8be385856784d0e242847f2a074938524482
Author: Robert Lyon <email address hidden>
Date: Wed May 8 12:57:25 2019 +1200

Bug 1828135: Remove the pending emails when deleting user

behatnotneeded

Change-Id: I04e7787c9d17418d2a5e80df3035255cb51b6d51
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit dc64aa252612aae6d53f6d579815954f3fd38108)

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/9996
Committed: https://git.mahara.org/mahara/mahara/commit/7af81af05353a2259e51cf81c57d61d745d83970
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.10_STABLE

commit 7af81af05353a2259e51cf81c57d61d745d83970
Author: Robert Lyon <email address hidden>
Date: Wed May 8 12:57:25 2019 +1200

Bug 1828135: Remove the pending emails when deleting user

behatnotneeded

Change-Id: I04e7787c9d17418d2a5e80df3035255cb51b6d51
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit dc64aa252612aae6d53f6d579815954f3fd38108)

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/9997
Committed: https://git.mahara.org/mahara/mahara/commit/12cff88932275a56fbc5b3c8aeb81c5ea3639e42
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.04_STABLE

commit 12cff88932275a56fbc5b3c8aeb81c5ea3639e42
Author: Robert Lyon <email address hidden>
Date: Wed May 8 12:57:25 2019 +1200

Bug 1828135: Remove the pending emails when deleting user

behatnotneeded

Change-Id: I04e7787c9d17418d2a5e80df3035255cb51b6d51
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit dc64aa252612aae6d53f6d579815954f3fd38108)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers