Describe the bug
The system creates duplicate Account and Contact records when converting Lead entities, even though duplicate protection is enabled.
To Reproduce (MANDATORY, DO NOT REMOVE)
Explicit steps to reproduce the behavior:
- Set duplicate check in entities Account and Contact on field E-mail
- Create lead with email address existing in one of the records in Contact entity to trigger duplicate protection
- Click Convert in Lead record (convert to Account, Contact)
- Modal with message about duplicate will pop up
- Click Save
- Check Account and Contact entities, sytem crated duplicates - one will have linked Lead, second one will be orphan
Expected behavior
System will not create duplicate record, but link existing one
EspoCRM version
9.2.2