When we cancelled a user account using the
Delete the account and make its content belong to the Anonymous user method, we found that the author was set to
Anonymous for the pages they were set as the
Author, as expected. The problem is that many pages that were set to
Draft were then updated to have their
Author set to
published, which is not a desired outcome. These drafts were never published and always kept in that state.
We have a view that pulls all pages that are published and content type =
Basic Page. This started to pull in all the
draft pages because they were set to
published after the user account was cancelled.
How can we cancel an account without publishing pages that were are set to
Draft moderation state?
Steps to reproduce:
- Create 10 draft
Basic Pages(do not publish) where the
Authoris set to
- Cancel the user account for
content adminby using
Delete the account and make its content belong to the Anonymous usermethod.
/admin/content, observe the pages are now in
Current modules being used for revision: