Deleted User Comments are deleted

Created on 16 December 2022, almost 2 years ago
Updated 27 January 2023, almost 2 years ago

Problem/Motivation

When deleting a user and re-assigning, comments that they have authored are deleted. I assumed that they would be either re-assigned to the selected user during the deletion or at least left to say "Anonymous".

Steps to reproduce

  1. Create two users
  2. Enable comments for a content type
  3. Comment on a node as each user.
  4. Delete one user and re-assign their content to another user.
  5. Comment on the node from the deleted user will be gone

As a contrast, choosing to delete the user and assign their content to Anonymous DOES leave the comment in place and should show "Anonymous (Unverified)" as the author of the comment.

Proposed resolution

None as of yet. I just needed to mention this as it ended up destroying some data that I wasn't expecting to lose.
I assigned another potentially related issue but I'm not certain that they are related.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jimmynash

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024