mailer disapears from UI

Created on 26 October 2023, over 1 year ago
Updated 29 October 2023, over 1 year ago

Problem/Motivation

Drupal\Core\Entity\EntityStorageException: The Drupal\symfony_mailer\Entity\MailerPolicy class does not correspond to an entity type. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of /var/www/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

Steps to reproduce

composer require 'drupal/symfony_mailer:^1.4'
drush en symfony_mailer
in the UI (/admin/config/system/mailer/policy) check `Emulate swiftmailer` and save
drush pmu swiftmailer
test wsebforms <==(all is well)
6 hours later...
drush cron via OS crontab
Mailer disapears from admin/config/system and the admin menu drop down
DB log:
Drupal\Core\Entity\EntityStorageException: The Drupal\symfony_mailer\Entity\MailerPolicy class does not correspond to an entity type. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of /var/www/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

drush cr fixes the issue untill next cron run.

Proposed resolution

Still looking ...

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Closed: works as designed

Version

1.4

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States ccarnnia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024