Problem/Motivation

As of Drupal 11.4, config data is no longer imported as-is. Data is now cast to match its schema on save. The Easy Email schema defines max_attachment_size as a float, but the config value is the integer 10. This is saved as 10.0, causing a mismatch between the config and the schema. This breaks recipes that import easy_email config.

Steps to reproduce

  1. Enable easy_email.
  2. Apply the easy_email_standard recipe.
  3. Recipe fails because
    The configuration 'easy_email.settings' exists already and does not match the recipe's configuration

Proposed resolution

Set max_attachment_size config value to 10.0.

Issue fork easy_email-3608247

Command icon 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

darren oh created an issue. See original summary.

  • darren oh committed dfe0fd8d on 3.0.x
    fix: #3608247 max_attachment_size config schema mismatch
zengenuity’s picture

Status: Active » Fixed

Merged and released in 3.0.9.

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.