Problem/Motivation
When trying to add encryption for a field (a plain text field on a user account) with existing data, the cron run fails with the following error: LogicException: Entity type user does not support revisions. in Drupal\Core\Entity\ContentEntityBase->setNewRevision() (line 293 of /var/www/html/contentacms/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php).
Steps to reproduce
Add a plain text field on a user account, add some data for it in different accounts, then go to Account settings, and add encryption for this field, save the settings. Then run cron manually and it will fail.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork field_encrypt-3211716
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
theuni CreditAttribution: theuni commentedComment #5
alexpottComment #7
alexpott