mozilla / sumo

Project management board for SUMO and Community properties.
Mozilla Public License 2.0
13 stars 5 forks source link

Profile image/avatar not removed after deleting account #2011

Open 2024-09-12 opened 5 days ago

2024-09-12 commented 5 days ago

Describe the bug

I've deleted my SUMO account, but my profile image/avatar is still visible next to my posts.

Steps to reproduce Steps to reproduce the behavior:

  1. Upload a profile image
  2. Make some edits in articles or post comments in discussions
  3. Delete your account

Expected behavior Since a user can be identified by its avatar (which might as well be a personal photo), it should be deleted too as soon as an account is deleted.

Actual behavior

My profile image is still visible next to my comments: [edited] . Please delete it.

akatsoulas commented 4 days ago

The avatar for this case was manually deleted. I also opened PR https://github.com/mozilla/kitsune/pull/6301 to deal with this issue in a more permanent base.

Thank you for filing this bug

emilghittasv commented 2 days ago

I can confirm that this issue is verified fixed in stage.

The profile avatar is successfully removed after deleting the SUMO account.

During the verification of this ticket I've noticed that a new regression was introduced: https://github.com/mozilla/sumo/issues/2015

I'm moving this particular ticket inside the release column.

akatsoulas commented 2 days ago

New PR to address this issue https://github.com/mozilla/kitsune/pull/6309

emilghittasv commented 2 days ago

@akatsoulas I can confirm that with the new PR the SUMO avatar is successfully removed at profile deletion.

Unfortunately the regression mentioned in https://github.com/mozilla/sumo/issues/2015 is still reproducible in stage.

emilghittasv commented 1 day ago

It turned out that https://github.com/mozilla/sumo/issues/2015 is not a regression caused by this change.