In SMTPConfigForm::buildForm(), the warning message "Disabled fields are overridden in site-specific configuration file." displays unconditionally. Every time the SMTP settings form is rendered, the warning appears, even when no configuration is being overridden anywhere.
Reproduction steps:
1. Install the SMTP module on a fresh drupal site.
2. Don't add any config overrides
3. Visit /admin/config/system/smtp.
4. There is a warning
The fix:
Add a if statement that checks if there are overrides on 'smtp.settings' before displaying the warning message.
Issue fork smtp-3591659
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
Comment #2
lillian bozeman commented