- Issue created by @weseze
- Merge request !32Issue #3494937: Account cancellation method not respected. → (Open) created by gaurav gupta
- gaurav gupta Jaipur, Rajasthsan
gaurav gupta → changed the visibility of the branch 8.x-1.x to hidden.
I followed below steps
selected the user account I want to delete.
Choose the option to delete the account and select "Delete the account and make its content belong to the Anonymous user."
Everything looks fine for me so moving it to RTBC.
Also attaching the screen recording FYR.- 🇮🇱Israel jsacksick
Well the thing is, I'm not sure "Delete the account and make its content belong to the Anonymous user." applies to profiles... but maybe.
Also, depending on the request to figure out whether we should delete the profile is not a good idea as it basically breaks deletion of a user programatically...
$method = \Drupal::requestStack()->getCurrentRequest()->query->get('delete-method'); if (!$method) { $method = \Drupal::config('user.settings')->get('cancel_method'); }
- 🇧🇪Belgium weseze
For my use case I have written some custom code to "fix" the issue.
I'm tempted to agree with jsacksick on this:
Well the thing is, I'm not sure "Delete the account and make its content belong to the Anonymous user." applies to profiles... but maybe.
Perhaps it might be enough to add a warning message that profiles will also be deleted?