- ๐ท๐ดRomania claudiu.cristea Arad ๐ท๐ด
Can we get an answer on #93 from the subsystem maintainer before doing any development here?
- ๐ณ๐ฑNetherlands seanB Netherlands
+++ b/core/modules/user/src/Entity/Handler/BatchCancellationHandler.php @@ -0,0 +1,216 @@ + $this->updateEntity($entity, $method);
As found in ๐ _node_mass_update_batch_process fails during user cancel when revision is deleted Needs review the entity could technically be removed between creating the batch and the execution of this method. We should check if
$entity
is properly loaded.+++ b/core/modules/user/src/Entity/Handler/DefaultCancellationHandler.php @@ -0,0 +1,185 @@ + $this->storage->save($entity);
As found in ๐ Revision user incorrectly appears as anonymous user when node author is cancelled Needs work a new revision is created when content moderation is used. We should probably try to prevent this by checking for
SynchronizableInterface
and doing something like this:$original_syncing = $entity->isSyncing(); $entity->setSyncing(TRUE); $this->storage->save($entity); $entity->setSyncing($original_syncing);