New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send test email UI bugs with port #3010
Comments
Maybe your instance is broken. I assume JS error occurred before fields fully initiated. I tested multiple scenarios (had to, as absence of steps to reproduce made to try multiple ones), on two instances. Integer is sent. Not translated field labels on the screenshot hints that something is wrong with your instance. |
Ah sorry for not writing them in a list, I guess I thought the bug description outlines the steps already. Will reformat next time. There are no missing JS files or other Javascript errors reported in the browser console though. I tried to also adjust bandwidth to test if this might be a race or so, but also that didn't reveal anything further. So that text input field should be of type |
That's why steps to reproduce are so important in bug reports for big apps. We have 3 different places where SMTP is configured. I tried two and forgot about existence of the 3rd. I'll look into. |
Fix: 0832faa. Thanks for help. BTW, it's possible to use Group Email Account as a system account. SMTP parameters in settings were considered by me as a legacy, that's why I forgot about them. In future it's likely that these settings will be forcibly migrated to a Group Email Account. |
Thanks for the quick fix and also the note about the Group Email Account, we will rework our app package startup script then to use that forward. |
Describe the bug
When an admin changes the email
smtpSecurity
dropdown. The port gets automatically reset to the usual default ports. However the issue is that the port now becomes a type string when sent further down to test the mail sending.The test mail rest call would send this JSON:
The REST api error handled at https://github.com/espocrm/espocrm/blob/master/application/Espo/Tools/Email/Api/PostSendTest.php#L91 gets triggered then. (This is correct)
Now clearing the port field and manually typing that value, the field correctly becomes a number. The input type is actually set to
text
rather than probably the more correctnumber
Furthermore if 4 digit ports are put in, it would render with a
.
or,
depending on the locale:2,525
Screenshots
just for context where this is in the UI:
EspoCRM version
8.1.5
Additional context
https://forum.cloudron.io/topic/10522/outbound-email-settings-being-overwritten-when-app-is-restarted/22
The text was updated successfully, but these errors were encountered: