Skip to content

Fix: Unable to create sender using shared config#535

Open
aj-foster wants to merge 1 commit into
pentacent:mainfrom
aj-foster:aj/shared-sender-types
Open

Fix: Unable to create sender using shared config#535
aj-foster wants to merge 1 commit into
pentacent:mainfrom
aj-foster:aj/shared-sender-types

Conversation

@aj-foster

Copy link
Copy Markdown

Hello 👋🏼

This PR is mostly a demonstration of an issue I encountered while trying to create a new project-level sender using configuration from a shared sender. In this situation, "Save" actions quietly failed validation because the config => type param was the default/first value of smtp instead of the correct value shared_* (for example, shared_local). Parameter validation errors were displayed under the SMTP tab, which was not active.

When shared senders are available, we also need to include their config.type in the select that gets controlled by senderType. This PR is one way to accomplish this, but there may be better ways.

❤️ Love this project. Thank you for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant