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

Created on 4 June 2018, about 6 years ago
Updated 26 January 2024, 5 months ago

Problem/Motivation

The revision user is not appearing correctly on the /revisions tab when a node author is canceled 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.

MR fix

The fix is in MR4713 all other branches/MRs can be closed.

Remaining tasks

Decide on alternative in case there are large number of revisions.

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Node system 

Last updated about 3 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.69.0 2024