Problem/Motivation

Installation via UI fails with the following message:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /core/install.php?rewrite=ok&profile=commerce_kickstart&langcode=en&id=1&op=do_nojs&op=do
StatusText: parsererror
ResponseText: Drupal\Core\Config\UnmetDependenciesException: Configuration objects provided by <em class="placeholder">symfony_mailer</em> have unmet dependencies: <em class="placeholder">filter.format.email_html (filter)</em> in Drupal\Core\Config\UnmetDependenciesException::create() (line 100 of /app/kickstart/web/core/lib/Drupal/Core/Config/UnmetDependenciesException.php).

commerce_kickstart symfony_mailer fail screenshot

Steps to reproduce

Follow installation steps with composer create-project -s dev drupal/recommended-project my_site_name_dir

Proposed resolution

Make `symfony_mailer` a dependency.

Remaining tasks

Review (soon to be provided) provided patch/MR.

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

z3cka created an issue. See original summary.

z3cka’s picture

Status: Active » Needs review
StatusFileSize
new478 bytes

Promised patch.

z3cka’s picture

I believe this was caused by the release of symfony_mailer yesterday that introduced a new for emails so that the body of emails sent from drupal can be edited with WYSIWYG editor.

z3cka’s picture

Issue summary: View changes

fixed the wrong pasted composer command with the one I actually used

z3cka’s picture

Issue summary: View changes
z3cka’s picture

FWIW, I also got this problem when using composer create-project -s dev drupal/recommended-project my_site_name_dir and adding commerce_kickstart manually.

rszrama’s picture

Category: Bug report » Support request
Issue summary: View changes
Status: Needs review » Active
StatusFileSize
new345 bytes

The issue is that a new configuration file added to the module required a dependency that was explicitly declared. The module maintainer has applied my proposed patch for this here: #3275333: New email_html format should be optional or the module needs a Filter module dependency

To avoid a 1.x-dev dependency in Kickstart, I'm going to fix our Symfony Mailer version to alpha7 and apply the attached patched. Will revert that temporary solution once he tags an alpha8.

  • rszrama committed ca7c0bd on 3.x
    Issue #3275136 by rszrama: Installation fails on a Symfony Mailer...
rszrama’s picture

Title: Installation fails on symfony_mailer unmet dependency » Installation fails on a Symfony Mailer configuration dependency issue
Category: Support request » Bug report
Status: Active » Fixed
StatusFileSize
new1.18 KB

Resolved by applying the attached patch to Commerce Kickstart. Opening a follow-up to revert that change once a new release of Symfony Mailer drops.

z3cka’s picture

Nice! Good idea, nice digging.

  • rszrama committed e3aec68 on 3.x
    Issue #3275136 by rszrama: revert to just using Symfony Mailer 1.x-dev...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.