Revision user incorrectly appears as anonymous user when node author is cancelled

Created on 4 June 2018, over 6 years ago
Updated 25 January 2023, almost 2 years ago

Problem/Motivation

The revision user is not appearing correctly on the /revisions tab when a node author is cancelled and their content assigned to anonymous user.

Steps to reproduce:

  1. User A creates a node
  2. User B edits that node
  3. User C cancels User A's account and assigns their content to the anonymous user (user_cancel_reassign).
  4. Go to the Revisions tab created in Step 1: the user for both revisions is Anonymous, where User B is expected for the second revision.

Proposed resolution

node_mass_update with both the uid and the revision_uid set to 0 is called for user_cancel_reassign. Not sure if this is the "root cause" and additional code is needed there instead of the simple assignment.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

10.1

Component
Node system 

Last updated about 7 hours ago

No maintainer
Created by

🇺🇸United States brenk28

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

Merge Requests

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