[PATCH] Add support for non-revisionable entities.
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2902501. --> Reported by: [lonalore](https://www.drupal.org/user/1539304) >>> <p>I use this module for my custom (non-revisionable) entity type, and I got the following error on save:</p> <pre>Drupal\Core\Database\IntegrityConstraintViolationException t&iacute;pus: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'revision_id' cannot be null: INSERT INTO {date_recur__cm_event__field_cm_event_date} (entity_id, revision_id, field_delta, field_cm_event_date_value, field_cm_event_date_end_value, delta) VALUES ...<br>Drupal\Core\Entity\EntityStorageException t&iacute;pus: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'revision_id' cannot be null: INSERT INTO {date_recur__cm_event__field_cm_event_date} (entity_id, revision_id, field_delta, field_cm_event_date_value, field_cm_event_date_end_value, delta) VALUES ...</pre><p>...because there is no <strong>revision_id</strong> set for my entity. </p>
issue