I tried encrypting an Email field with pre-existing data using Pubkey Encrypt. The batch job "Updating field encryption" is hanging at "Completed 0 of 1".
Looking in the logs, I see two errors for each node:
node: Drupal\Core\Entity\EntityStorageException: Missing bundle for entity type node in Drupal\Core\Entity\ContentEntityStorageBase->doCreate() (line 83 of /path/to/drupal/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php).
field_encrypt: Drupal\Core\Entity\EntityStorageException: Missing bundle for entity type node in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 756 of /path/to/drupal/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
This could be in the wrong queue as there are many modules involved here.
Comments
Comment #2
talhaparacha commentedThis should get fixed once #2764851: Fix tests round 2 is fixed.
Comment #3
colanThis bug makes the module unusable.
Comment #4
colanConfirming that the patch in the other issue fixes things.