Editing a contact without an email type set fails even after checking the primary checkbox [8.6.0] #465
Labels
Area: Emails
Issues & PRs related to all things regarding emails & email module
Priority:Moderate
Issues & PRs that are minor; broken styling; warns; there are practical workarounds
Severity: Moderate
Minor Impact
Type: Bug
Something isn't working
Issue
If you create contact with just the basic fields required, and do not tick anything on the email type, the contact is saved, but once you try to edit it again and save it, it throws a validation error. Even if you tick the email type as primary it fails.
It seems like validation is done on the previous dataset and not the staged or changed data of the contact, for the email field.
Expected Behavior
Once you specify the email type when it was not set previously you should be able to save it without having a validation error.
No validation error should show and block saving action
Possible Fix
As a workaround you can click on the More information and then on save.
Steps to Reproduce
Context
Trying to save contacts after upgrade of SuiteCRM to 8.6, previous contacts did not have the email type set.
Your Environment
SuiteCRM 8.6 (upgraded from 8.2)
The text was updated successfully, but these errors were encountered: