Problem/Motivation
For full Drupal 9 compatibility we need to define revision metadata keys or we'll trigger the following deprecations on 8.9.x
3x: The revision_user revision metadata key is not set for entity type: easy_email See: https://www.drupal.org/node/2831499
3x in TelusEvsInstallTest::testTelusEvs from Drupal\Tests\telus_evs\Functional
3x: The revision_created revision metadata key is not set for entity type: easy_email See: https://www.drupal.org/node/2831499
3x in TelusEvsInstallTest::testTelusEvs from Drupal\Tests\telus_evs\Functional
3x: The revision_log_message revision metadata key is not set for entity type: easy_email See: https://www.drupal.org/node/2831499
3x in TelusEvsInstallTest::testTelusEvs from Drupal\Tests\telus_evs\Functional
Proposed resolution
Also EasyEmailStorage is still using an entityManager property.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 3154486-10.patch | 18.83 KB | alexpott |
| #11 | 9-10-interdiff.txt | 841 bytes | alexpott |
| #9 | 3154486-9.patch | 18.01 KB | alexpott |
| #9 | 6-9-interdiff.txt | 16.95 KB | alexpott |
| #6 | 3154486-6.patch | 1.06 KB | alexpott |
Comments
Comment #2
alexpottComment #3
vijaycs85looks good.
Comment #4
alexpottTests won';t pass on 9.0.x till this is fixed... https://www.drupal.org/project/easy_email/issues/3118492#comment-13716325
Comment #6
alexpottComment #7
vijaycs85Comment #9
alexpottSome more fixes...
Comment #11
alexpottThe new swiftmailer has the ability to automatically generate plain text emails. We need to disable it for these tests.
Comment #13
zengenuity commentedLooks good. Committed. Thanks!