Transport list should reflect non-overridden config

Created on 2 October 2023, almost 2 years ago
Updated 26 October 2023, over 1 year ago

Problem/Motivation

We use settings.php to override the default transport.
Admin pages that allow editing config should reflect the database config and not overrides.
But /admin/config/system/mailer/transport lists the overridden default.

Steps to reproduce

Create 2 transports and set one as default.
Add something like this to settings.php to set the other one as default:

$config['symfony_mailer.settings']['default_transport'] = 'mailhog';

Proposed resolution

MailerTransportListBuilder::buildRow() should use the non-overridden config to check if a transport is the default one.

🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

🇫🇷France prudloff Lille

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

Comments & Activities

Production build 0.71.5 2024