Problem/Motivation
When cancelling a user account and reassigning the author of revisions, a lot of additional revisions are created and the 'revision_translation_affected' field doesn't seem to be retained.
Steps to reproduce:
- Login with an account that can be cancelled.
- Create some content and translations as that user.
- Cancel the account and reassign the content to the anonymous user.
- Additional revisions are created and the 'revision_translation_affected' is reset (not sure what the impact of this is yet).
Comments
Comment #2
plachThe IS needs an update based on the linked information, however if the reported issues are confirmed, this seems critical to me as we would be talking about data integrity issues.
Comment #3
plachTentatively marking this critical so we don't lose track of it.
Comment #4
sam152 commentedI can confirm there are some weird results when cancelling a user account. The node revision list before and after reassigning an account:
A lot of additional revisions are created when reassigning each revision.
revision_translation_affectedseems to get reassigned to '1' for all revisions as well.Comment #6
vannergard commentedThis also seems to effect nodes that previously changed owners. Meaning that even when a node has a new owner it will be reassigned to Anonymus if it ever has been owned by the user that user_cancel is run on.
Comment #7
catchSomewhat related to #3026882: Content moderation workflow changes against one language affect translations too.
Comment #8
sam152 commentedI believe this is primarily because when each revision is updated, content moderation forces a new revision to be created. There might be other bugs that come into play during the update, but I think that explains the large number of extra revisions after cancelling the account.
Comment #13
yuseferi commentedI have this issue on Drupal 9.3.2 ,
content moderation and when I delete a translation it's happening
Comment #14
stephencamilo commentedComment #15
rkoller