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

colan created an issue. See original summary.

talhaparacha’s picture

This should get fixed once #2764851: Fix tests round 2 is fixed.

colan’s picture

Priority: Normal » Critical

This bug makes the module unusable.

colan’s picture

Status: Active » Closed (duplicate)

Confirming that the patch in the other issue fixes things.