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:
- User A creates a node
- User B edits that node
- User C cancels User A's account and assigns their content to the anonymous user (user_cancel_reassign).
- 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.